UserInfo: Fix persistance of user info to cache.

master
Tom Hacohen 7 years ago
parent e257f427eb
commit 71e20bb65f

@ -282,7 +282,7 @@ const cacheSerialize = (state: any, key: string) => {
} else if (key === 'journals') { } else if (key === 'journals') {
return journalsSerialize(state.value); return journalsSerialize(state.value);
} else if (key === 'userInfo') { } else if (key === 'userInfo') {
return userInfoSerialize(state.value); return userInfoSerialize(state);
} }
return state; return state;

Loading…
Cancel
Save