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
|
@ -55,10 +55,10 @@ const NodeLayoutUnconnected: FC<IProps> = ({
|
|||
<Group className={styles.comments}>
|
||||
<CommentForm id={node.id || null} />
|
||||
|
||||
{is_loading_comments || !comments.length || true ? (
|
||||
{is_loading_comments || !comments.length ? (
|
||||
<NodeNoComments is_loading={is_loading_comments} />
|
||||
) : (
|
||||
<NodeComments />
|
||||
<NodeComments comments={comments} />
|
||||
)}
|
||||
</Group>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue