{#if $event} {@const note = $event} {@const replyToNote = () => setReplyTo(note)}
{#if replyTo?.id !== note.id} {/if}
{#if replyTo?.id === note.id}
{/if} {#each $replies as node (node.comment.id)} {/each} {#if $replies.length === 0 && replyTo?.id !== note.id}

No replies yet.

{/if}
{:else}
{#await sleep(5000)} Loading note... {:then}

Failed to load note.

{/await}
{/if}