From 71e20bb65f53e988f2a403e9ef5999b800213837 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sat, 30 Dec 2017 15:49:56 +0000 Subject: [PATCH] UserInfo: Fix persistance of user info to cache. --- src/store/reducers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/reducers.ts b/src/store/reducers.ts index 26e5ae8..39b0bc4 100644 --- a/src/store/reducers.ts +++ b/src/store/reducers.ts @@ -282,7 +282,7 @@ const cacheSerialize = (state: any, key: string) => { } else if (key === 'journals') { return journalsSerialize(state.value); } else if (key === 'userInfo') { - return userInfoSerialize(state.value); + return userInfoSerialize(state); } return state;