1
0
Fork 0
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:
muerwre 2019-08-26 15:37:11 +07:00
parent c541278686
commit 76a3331719
14 changed files with 148 additions and 26 deletions

View file

@ -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: {},
};