Aryan Kothari пре 9 месеци
родитељ
комит
220a4bb535
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      src/lib/components/layout/Sidebar.svelte

+ 6 - 0
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}
+					<div class="w-full flex justify-center py-4 animate-pulse">
+						<Sparkles />
+					</div>
+				{/if}
 			</div>
 		</div>