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:
parent
bfc779745a
commit
a977c73449
5 changed files with 42 additions and 11 deletions
|
@ -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);
|
||||
|
|
|
@ -24,7 +24,7 @@ import { IState } from "~/redux/store";
|
|||
|
||||
const authPersistConfig: PersistConfig = {
|
||||
key: "auth",
|
||||
whitelist: ["token"],
|
||||
whitelist: ["token", "user"],
|
||||
storage
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue