{question?.title || 'Question'} { deleteComment.shouldDelete = false; deleteComment.commentId = null; }} onDelete={handleCommentDelete} />
{#if !question}
{:else}
Go Back
{#if isEditMode} {:else}
upvoteQuestion('question')} disabled={voted.question} />

{question.title}

{/if} {#if question.author.id === $profile.id} {#if isEditMode} (isEditMode = !isEditMode)} className="py-3 px-6 rounded-sm h-fit" disablePadding={true} /> {/if} {/if}

{question.author.name}

{question.createdAt}

{#if isEditMode && editorInstance}
(editContent.body = html)} />
{:else}
{@html question.body}
{/if}
{pluralize('answers', question.totalComments, true)}
{#each question.comments as comment}
upvoteQuestion('comment', comment.id)} disabled={voted.comment[comment.id]} />

{comment.name}

{comment.createdAt}

{#if isValidAnswer} {/if} {#if comment.authorId === $profile.id} { deleteComment.shouldDelete = true; deleteComment.commentId = comment.id; }} > {/if}
{@html comment.comment}
{/each}
{#if !editorInstance} (comment = html)} /> {/if}
{/if}