+
@@ -279,12 +279,12 @@
rows={3}
/>
-
+
{charCount}/2000
{#if postError}
- {postError}
+ {postError}
{/if}
{:else}
-
- Log in
+
+ Log in
to leave a comment.
{/if}
@@ -309,17 +309,17 @@
{#if loading}
{#each Array(3) as _}
-
{:else if loadError}
-
{loadError}
+
{loadError}
{:else if comments.length === 0}
-
No comments yet. Be the first!
+
No comments yet. Be the first!
{:else}
{#each comments as comment (comment.id)}
@@ -328,39 +328,39 @@
{@const deleting = deletingIds.has(comment.id)}
{@const isOwner = isLoggedIn && currentUserId === comment.user_id}
-
-
-
- {#if avatarUrls[comment.user_id]}
-

- {:else}
-
- {initials(comment.username)}
-
- {/if}
- {#if comment.username}
-
{comment.username}
+
+
+
+ {#if avatarUrls[comment.user_id]}
+

{:else}
-
Anonymous
+
+ {initials(comment.username)}
+
{/if}
-
·
-
{formatDate(comment.created)}
-
+ {#if comment.username}
+
{comment.username}
+ {:else}
+
Anonymous
+ {/if}
+
·
+
{formatDate(comment.created)}
+
-
-
{comment.body}
+
+
{comment.body}
-