frontend-rw #1

Merged
marcin merged 347 commits from frontend-rw into develop 2024-12-05 15:32:18 -08:00
Showing only changes of commit 1acf505af8 - Show all commits

View file

@ -145,7 +145,10 @@ const sanitizeState = (state: State) => {
});
};
const persistAuth = (state: State) => localStorage.setItem(STORAGE_KEY, JSON.stringify(state.delete('client').toJS()));
const persistAuth = (state: State) => {
const { client, ...data } = state.toJS();
localStorage.setItem(STORAGE_KEY, JSON.stringify(data));
};
const persistSession = (state: State) => {
const me = state.me;