Merge pull request #48 from lbryio/user

don't clear user during fetch
This commit is contained in:
Sean Yesmunt 2019-08-14 12:11:53 -04:00 committed by GitHub
commit 1ce266b3c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

3
dist/bundle.es.js vendored
View file

@ -2400,8 +2400,7 @@ reducers$2[lbryRedux.ACTIONS.AUTHENTICATION_FAILURE] = state => Object.assign({}
});
reducers$2[lbryRedux.ACTIONS.USER_FETCH_STARTED] = state => Object.assign({}, state, {
userIsPending: true,
user: defaultState$3.user
userIsPending: true
});
reducers$2[lbryRedux.ACTIONS.USER_FETCH_SUCCESS] = (state, action) => Object.assign({}, state, {

View file

@ -40,7 +40,6 @@ reducers[ACTIONS.AUTHENTICATION_FAILURE] = state =>
reducers[ACTIONS.USER_FETCH_STARTED] = state =>
Object.assign({}, state, {
userIsPending: true,
user: defaultState.user,
});
reducers[ACTIONS.USER_FETCH_SUCCESS] = (state, action) =>