FIx typo
This commit is contained in:
1 parent
ea9b90f0b8
commit
2ea3fb9670
1 file changed
+2
-2
@@ -52,10 +52,10 @@ const currentUser = (state: User = initialUser, action: ReduxAction): User => {
|
||||
case SIGNOUT_REQUEST_SUCCEEDED:
|
||||
const userAttributeKeys: string[] = Object.keys(state.attributes)
|
||||
const allNullUserAttributes: UserAttributes = userAttributeKeys.reduce(
|
||||
(accumulatedNullUserAttributes: UserAttributes, curentUserAttributeKey: string): UserAttributes => {
|
||||
(accumulatedNullUserAttributes: UserAttributes, currentUserAttributeKey: string): UserAttributes => {
|
||||
return {
|
||||
...accumulatedNullUserAttributes,
|
||||
[curentUserAttributeKey]: null,
|
||||
[currentUserAttributeKey]: null,
|
||||
}
|
||||
},
|
||||
{},
|
||||
|
||||
Reference in new issue
Block a user