From 220a4bb535aaba5d309ccb9417e15f72ccbe47dc Mon Sep 17 00:00:00 2001 From: Aryan Kothari <87589047+thearyadev@users.noreply.github.com> Date: Sat, 3 Aug 2024 20:13:36 -0400 Subject: [PATCH] add: loading animation --- src/lib/components/layout/Sidebar.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 5a988a4a6..fb5804a21 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -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} +
+ +
+ {/if}