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

moved flow hooks out of flow

This commit is contained in:
Fedor Katurov 2021-09-20 10:01:59 +07:00
parent cac97e87f0
commit 35ce593ed8
8 changed files with 72 additions and 44 deletions

View file

@ -3,7 +3,7 @@ import { INode, IError } from '../types';
import { FLOW_HANDLERS } from './handlers';
export type IFlowState = Readonly<{
is_loading: boolean;
isLoading: boolean;
nodes: INode[];
heroes: Partial<INode>[];
recent: Partial<INode>[];
@ -30,7 +30,7 @@ const INITIAL_STATE: IFlowState = {
is_loading: false,
is_loading_more: false,
},
is_loading: false,
isLoading: false,
error: '',
};