frontend-rw #1
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ const sanitizeState = (state: State) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const persistAuth = (state: State) => localStorage.setItem(STORAGE_KEY, JSON.stringify(state.toJS()));
|
const persistAuth = (state: State) => localStorage.setItem(STORAGE_KEY, JSON.stringify(state.delete('client').toJS()));
|
||||||
|
|
||||||
const persistSession = (state: State) => {
|
const persistSession = (state: State) => {
|
||||||
const me = state.me;
|
const me = state.me;
|
||||||
|
|
Loading…
Reference in a new issue