...
|
...
|
@@ -111,7 +111,7 @@ export default function userReducer(state = initialState, action) { |
|
|
case GET_STORED_USER_INFO:
|
|
|
case LOGIN_SUCCESS: {
|
|
|
const {account, pid, session_key, shops} = action.payload;
|
|
|
let brandsList = Immutable.fromJS(shops);
|
|
|
let brandsList = Immutable.fromJS(shops) || List();
|
|
|
let nextState = state.set('isFetching', false)
|
|
|
.set('error', null)
|
|
|
.setIn(['profile', 'account'], account)
|
...
|
...
|
|