From caf5a6d9caea2273e29b33d168a2a6b467d97683 Mon Sep 17 00:00:00 2001 From: TBS093A Date: Tue, 10 Mar 2020 19:40:05 +0100 Subject: [PATCH] Delete unused things from user duck operations --- src/stores/user/duck/operations.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/stores/user/duck/operations.js b/src/stores/user/duck/operations.js index 5a3453a..450cbbe 100644 --- a/src/stores/user/duck/operations.js +++ b/src/stores/user/duck/operations.js @@ -77,18 +77,6 @@ export const createSession = (data) => } dispatch(actions.login(userFull)) - - store.subscribe(() => { - saveState({ - auth: store.getState().auth - }); - }); - - store.subscribe(lodash.throttle(() => { - saveState({ - auth: store.getState().auth - }); - }, 1000)); } export const updateSession = (data) =>