mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
NodeLayout
This commit is contained in:
parent
684a4f4474
commit
b154277de8
23 changed files with 332 additions and 65 deletions
|
@ -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: {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue