Browse Source

rootReducer return 추가

pull/2/head
김장현 2 years ago
parent
commit
f107e0d0b7
  1. 2
      src/redux/reducers/rootReducer.ts

2
src/redux/reducers/rootReducer.ts

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

Loading…
Cancel
Save