From 2ea3fb9670a5c057f200d022b83d3d55a28e3789 Mon Sep 17 00:00:00 2001 From: Kyle Corbelli Date: Fri, 15 Sep 2017 20:03:05 -0700 Subject: [PATCH] FIx typo --- src/reducers/current-user/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reducers/current-user/index.ts b/src/reducers/current-user/index.ts index f0a06b8..a68e866 100644 --- a/src/reducers/current-user/index.ts +++ b/src/reducers/current-user/index.ts @@ -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, } }, {},