{#each comments as comment (comment.id)}
{comment.user.name}
: {comment.text}
{#if auth.user?.id === comment.user_id}
remove(comment.id)} >
удалить
{/if}
{/each} {#if auth.isAuthenticated}
{/if} {#if error}
{error}
{/if}