fix reducer logic mistake

This commit is contained in:
Aaron 2018-11-16 22:24:41 -06:00
parent 866be8e62c
commit e6cc99aa5c
No known key found for this signature in database
GPG Key ID: 3B5B7597106F0A0E
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ export default function createReducer(
user:
state.user && state.user.ethAddress === action.payload.user.ethAddress
? action.payload.user
: action.payload.user,
: state.user,
};
case types.AUTH_USER_REJECTED:
return {