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

showing comments left count

This commit is contained in:
Fedor Katurov 2020-04-09 13:48:26 +07:00
parent 911beea4ad
commit 319e66616c
9 changed files with 101 additions and 115 deletions

View file

@ -12,6 +12,7 @@ export type INodeState = Readonly<{
similar: Partial<INode[]>;
};
comment_data: Record<number, IComment>;
comment_count: number;
current_cover_image: IFile;
error: string;
@ -35,6 +36,7 @@ const INITIAL_STATE: INodeState = {
...EMPTY_COMMENT,
},
},
comment_count: 0,
comments: [],
related: null,
current_cover_image: null,