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

#34 made local comment form uploads

This commit is contained in:
Fedor Katurov 2021-02-27 17:51:12 +07:00
parent f45e34f330
commit 051b199d5d
14 changed files with 422 additions and 189 deletions

View file

@ -45,7 +45,7 @@ type IProps = ReturnType<typeof mapStateToProps> &
const id = 696;
const BorisLayoutUnconnected: FC<IProps> = ({
node: { is_loading, is_loading_comments, comments = [], comment_data, comment_count },
node: { is_loading, is_loading_comments, comments = [], comment_data, comment_count, id },
user,
user: { is_user, last_seen_boris },
nodeLoadNode,
@ -92,7 +92,7 @@ const BorisLayoutUnconnected: FC<IProps> = ({
<div className={styles.container}>
<Card className={styles.content}>
<Group className={styles.grid}>
{is_user && <NodeCommentForm is_before />}
{is_user && <NodeCommentForm isBefore nodeId={id} />}
{is_loading_comments ? (
<NodeNoComments is_loading count={7} />