chore: use-ndk #283
@ -23,8 +23,8 @@ const reducer = (
|
||||
profile: action.payload
|
||||
}
|
||||
|
||||
// case ActionTypes.RESTORE_STATE:
|
||||
// return action.payload.
|
||||
case ActionTypes.RESTORE_STATE:
|
||||
return action.payload.user || initialState
|
||||
|
||||
default:
|
||||
return state
|
||||
|
Loading…
Reference in New Issue
Block a user