+
{#if thread.replies.length}
-
+
{#each thread.replies as reply, i (reply.uri)}
{#snippet replyEditor()}
{@render commentEditor(reply, thread.self.uri, thread.self.cid)}
diff --git a/web/src/lib/components/comment/CommentEditor.svelte b/web/src/lib/components/comment/CommentEditor.svelte
index 4366def3c..b2a1d05e7 100644
--- a/web/src/lib/components/comment/CommentEditor.svelte
+++ b/web/src/lib/components/comment/CommentEditor.svelte
@@ -71,6 +71,7 @@
}: Props = $props();
const rkey = $derived(uri && rkeyFromUri(uri));
+ const mode = $derived(uri ? "edit" : replyToUri ? "reply" : "new");
const auth = getAuth();
const accounts = $derived(auth?.accounts ?? []);
@@ -158,7 +159,12 @@
{/snippet}
-