Delete unused things from user duck operations
parent
475bc2ff00
commit
caf5a6d9ca
|
|
@ -77,18 +77,6 @@ export const createSession = (data) =>
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatch(actions.login(userFull))
|
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) =>
|
export const updateSession = (data) =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue