mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
comment form
This commit is contained in:
parent
9531edcd19
commit
1990783fa3
9 changed files with 67 additions and 33 deletions
|
@ -7,7 +7,7 @@ export type INodeState = Readonly<{
|
|||
editor: INode;
|
||||
current: INode;
|
||||
comments: IComment[];
|
||||
comment_data: IComment;
|
||||
comment_data: Record<number, IComment>;
|
||||
|
||||
error: string;
|
||||
errors: Record<string, string>;
|
||||
|
@ -25,7 +25,7 @@ const INITIAL_STATE: INodeState = {
|
|||
files: [],
|
||||
},
|
||||
current: { ...EMPTY_NODE },
|
||||
comment_data: { ...EMPTY_COMMENT },
|
||||
comment_data: { 0: { ...EMPTY_COMMENT } },
|
||||
comments: [],
|
||||
|
||||
is_loading: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue