diff --git a/src/lib/components/Comment.svelte b/src/lib/components/Comment.svelte index a5064ff..73549f4 100644 --- a/src/lib/components/Comment.svelte +++ b/src/lib/components/Comment.svelte @@ -1,5 +1,5 @@ +
- {#key $ndkReady} - {#await $ndk.fetchEvent(data.id) then question} - {#if question} + {#if $question} + +

Frage / Thema:

- +
@@ -59,15 +84,13 @@ {:else}

Loading...

{/if} - {:catch error} -

Error fetching question: {error.message}

- {/await} - {/key}
+ {#key $showReactions} {#each $comments.sort((a, b) => a.created_at - b.created_at).reverse() as event} - + {/each} + {/key}