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:
parent
cac97e87f0
commit
35ce593ed8
8 changed files with 72 additions and 44 deletions
|
@ -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: '',
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue