{#if editing} {#snippet customTitle()}
{$t('form.edit')}
{/snippet}
{ e.preventDefault() save() }} class="contents" >
{/if}
  • {#if meta} {@const creatorIsOp = postAuthorDid !== undefined && node.comment.author.did === postAuthorDid} {/if}
    {#if actions} (editing = true)} disabled={false} /> {/if}
    {#if replying}
    { const currentProfile = profile.current if (!currentProfile || currentProfile.type !== 'authenticated') { replying = false return } const comment = createOptimisticCommentView( output, content, postRef, { uri: node.comment.uri, cid: node.comment.cid }, { did: currentProfile.did, handle: currentProfile.handle, avatar: currentProfile.avatar, }, ) node.children = [ { children: [], comment, depth: node.depth + 1, expanded: true, }, ...node.children, ] replying = false }} oncancel={() => (replying = false)} />
    {/if} {@render children?.()}