diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte index 20307471..e3e9fc4b 100644 --- a/src/lib/components/lemmy/comment/Comment.svelte +++ b/src/lib/components/lemmy/comment/Comment.svelte @@ -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 }} /> diff --git a/src/lib/components/lemmy/comment/CommentForm.svelte b/src/lib/components/lemmy/comment/CommentForm.svelte index 676dd591..f6fa919d 100644 --- a/src/lib/components/lemmy/comment/CommentForm.svelte +++ b/src/lib/components/lemmy/comment/CommentForm.svelte @@ -1,7 +1,7 @@