1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

ScrollDialog error handling

This commit is contained in:
muerwre 2019-08-06 19:09:07 +07:00
parent bfc779745a
commit a977c73449
5 changed files with 42 additions and 11 deletions

View file

@ -10,7 +10,7 @@ export interface IModalState {
const INITIAL_STATE: IModalState = {
is_shown: true,
dialog: DIALOGS.EDITOR,
dialog: DIALOGS.LOGIN,
};
export default createReducer(INITIAL_STATE, MODAL_HANDLERS);

View file

@ -24,7 +24,7 @@ import { IState } from "~/redux/store";
const authPersistConfig: PersistConfig = {
key: "auth",
whitelist: ["token"],
whitelist: ["token", "user"],
storage
};