1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00

node and upload reducer

This commit is contained in:
muerwre 2019-08-06 18:32:51 +07:00
parent e0bba90d2e
commit 5045fbce8b
11 changed files with 87 additions and 19 deletions

View file

@ -10,12 +10,12 @@ export const MODAL_ACTIONS = {
};
export const DIALOGS = {
TEST: 'TEST',
EDITOR: 'EDITOR',
LOGIN: 'LOGIN',
};
export const DIALOG_CONTENT = {
[DIALOGS.TEST]: ExampleDialog,
[DIALOGS.EDITOR]: ExampleDialog,
[DIALOGS.LOGIN]: LoginDialog,
};

View file

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