Update CommentSection.svelte
This commit is contained in:
parent
bd05b269fe
commit
251609d7b8
1 changed files with 3 additions and 5 deletions
|
|
@ -162,14 +162,12 @@
|
||||||
|
|
||||||
<!-- Comments List -->
|
<!-- Comments List -->
|
||||||
{#if isLoading}
|
{#if isLoading}
|
||||||
<div class="py-8 text-center">
|
<div class="text-center">
|
||||||
<Loader2 class="mx-auto h-6 w-6 animate-spin" />
|
<Loader2 class="mx-auto h-6 w-6 animate-spin" />
|
||||||
<p class="text-muted-foreground mt-2 text-sm">Loading comments...</p>
|
|
||||||
</div>
|
</div>
|
||||||
{:else if comments.length === 0}
|
{:else if comments.length === 0}
|
||||||
<div class="py-8 text-center">
|
<div class="text-center">
|
||||||
<MessageCircle class="text-muted-foreground mx-auto h-12 w-12" />
|
<p class="text-muted-foreground mt-2 text-sm">
|
||||||
<p class="text-muted-foreground mt-2">
|
|
||||||
No comments yet. Be the first to share your thoughts!
|
No comments yet. Be the first to share your thoughts!
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Reference in a new issue