mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
adding comments
This commit is contained in:
parent
c541278686
commit
76a3331719
14 changed files with 148 additions and 26 deletions
|
@ -13,6 +13,7 @@ export type INodeState = Readonly<{
|
|||
|
||||
is_loading: boolean;
|
||||
is_loading_comments: boolean;
|
||||
is_sending_comment: boolean;
|
||||
}>;
|
||||
|
||||
const INITIAL_STATE: INodeState = {
|
||||
|
@ -24,8 +25,11 @@ const INITIAL_STATE: INodeState = {
|
|||
},
|
||||
current: { ...EMPTY_NODE },
|
||||
comments: [],
|
||||
|
||||
is_loading: false,
|
||||
is_loading_comments: false,
|
||||
is_sending_comment: false,
|
||||
|
||||
error: null,
|
||||
errors: {},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue