{#if isReply}
{/if}
{#if isLastReply}
{/if}
{#if editComment && state !== "read"}
{@const editComment_ = editComment}
{
state = "submit";
try {
await editComment_(comment, Array.from(embeds.values()));
} finally {
state = "read";
}
}}
on:close={async () => {
body = body;
await tick();
state = "read";
}} />
{:else if body.trim() === ""}
No description
{:else}
{/if}
{#if (id && handleReaction) || (id && reactions && reactions.size > 0)}
{#if id && handleReaction}
{@const handleReaction_ = handleReaction}
{
try {
await handleReaction_(nids, reaction);
} finally {
closeFocused();
}
}} />
{/if}
{#if id && reactions && reactions.size > 0}
{/if}
{/if}