add: loading animation

This commit is contained in:
Aryan Kothari 2024-08-03 20:13:36 -04:00
parent 287559e834
commit 220a4bb535

View File

@ -39,6 +39,7 @@
import UserMenu from './Sidebar/UserMenu.svelte';
import ChatItem from './Sidebar/ChatItem.svelte';
import DeleteConfirmDialog from '$lib/components/common/ConfirmDialog.svelte';
import Sparkles from '../icons/Sparkles.svelte';
const BREAKPOINT = 768;
@ -591,6 +592,11 @@
}}
/>
{/each}
{#if nextPageLoading}
<div class="w-full flex justify-center py-4 animate-pulse">
<Sparkles />
</div>
{/if}
</div>
</div>