nsarrazin HF Staff commited on
Commit
e8c0c11
·
1 Parent(s): e6f9144

fix: remove fade on conv load

Browse files
Files changed (1) hide show
  1. src/lib/components/NavMenu.svelte +1 -2
src/lib/components/NavMenu.svelte CHANGED
@@ -11,7 +11,6 @@
11
  import type { Model } from "$lib/types/Model";
12
  import { page } from "$app/stores";
13
 
14
- import { fade } from "svelte/transition";
15
  export let conversations: Promise<ConvSidebar[]>;
16
  export let canLogin: boolean;
17
  export let user: LayoutData["user"];
@@ -78,7 +77,7 @@
78
  </div>
79
  {/if}
80
  {:then groupedConversations}
81
- <div transition:fade class="flex flex-col gap-1">
82
  {#each Object.entries(groupedConversations) as [group, convs]}
83
  {#if convs.length}
84
  <h4 class="mb-1.5 mt-4 pl-0.5 text-sm text-gray-400 first:mt-0 dark:text-gray-500">
 
11
  import type { Model } from "$lib/types/Model";
12
  import { page } from "$app/stores";
13
 
 
14
  export let conversations: Promise<ConvSidebar[]>;
15
  export let canLogin: boolean;
16
  export let user: LayoutData["user"];
 
77
  </div>
78
  {/if}
79
  {:then groupedConversations}
80
+ <div class="flex flex-col gap-1">
81
  {#each Object.entries(groupedConversations) as [group, convs]}
82
  {#if convs.length}
83
  <h4 class="mb-1.5 mt-4 pl-0.5 text-sm text-gray-400 first:mt-0 dark:text-gray-500">