UserInfo: Fix persistance of user info to cache.

master
Tom Hacohen 2017-12-30 15:49:56 +00:00
parent e257f427eb
commit 71e20bb65f
1 changed files with 1 additions and 1 deletions

View File

@ -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;