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

NodeLayout

This commit is contained in:
muerwre 2019-08-25 16:10:46 +07:00
parent 684a4f4474
commit b154277de8
23 changed files with 332 additions and 65 deletions

View file

@ -8,6 +8,7 @@ import { EMPTY_FILE } from '../uploads/constants';
export type INodeState = Readonly<{
is_loading: boolean;
editor: INode;
current: INode;
error: string;
errors: Record<string, string>;
}>;
@ -19,6 +20,7 @@ const INITIAL_STATE: INodeState = {
blocks: [],
files: [],
},
current: null,
is_loading: false,
error: null,
errors: {},