feat: Fix commenting issue

This commit is contained in:
Xyphyn committed 2023-07-05 14:36:17 -07:00
1 parent d9812b17bd
commit dd30acf19d
5 files changed
+16 -6

No files matched your search

@@ -159,7 +159,14 @@
{postId}
parentId={node.comment_view.comment.id}
on:comment={(e) => {
node.children = [e.detail, ...node.children]
node.children = [
{
children: [],
depth: node.depth,
comment_view: e.detail.comment_view,
},
...node.children,
]
replying = false
}}
/>