|
|
@ -88,7 +88,7 @@ const appReducer = combineReducers({ |
|
|
|
|
|
|
|
|
|
|
|
const rootReducer = (state, action) => { |
|
|
|
const rootReducer = (state, action) => { |
|
|
|
if (action.type === 'auth/USERS_LOGOUT_SUCCESS') { |
|
|
|
if (action.type === 'auth/USERS_LOGOUT_SUCCESS') { |
|
|
|
appReducer(undefined, action); |
|
|
|
return appReducer(undefined, action); |
|
|
|
} |
|
|
|
} |
|
|
|
return appReducer(state, action); |
|
|
|
return appReducer(state, action); |
|
|
|
}; |
|
|
|
}; |
|
|
|