From f372015bb2d5fa76b025a0554e690032b55fc54c Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 14 Aug 2019 12:08:27 -0400 Subject: [PATCH] don't clear user during fetch --- dist/bundle.es.js | 3 +-- src/redux/reducers/user.js | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index ef47181..9f265b0 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -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, { diff --git a/src/redux/reducers/user.js b/src/redux/reducers/user.js index dedf7db..18affc3 100644 --- a/src/redux/reducers/user.js +++ b/src/redux/reducers/user.js @@ -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) =>