Skip to content

Commit

Permalink
invalidate_all on click logo
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Nov 12, 2024
1 parent bb73a6c commit 2a2bd63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/lib/components/RootNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import SearchSidebar from './Sidebar.svelte';
import { Button } from './ui/button';
import { getAppContext } from '$lib/stores/appContext.svelte';
import { goto } from '$app/navigation';
import { goto, invalidateAll } from '$app/navigation';
import { mediaBreakPoints$ } from '@/utils/mediaBreakpoints';
export let sessionId: string;
Expand Down Expand Up @@ -53,7 +53,7 @@
</div>
{/if}

<a class="block shrink-0" href="/">
<a class="block shrink-0" href="/" on:click={invalidateAll}>
<Logo />
</a>
</div>
Expand Down

0 comments on commit 2a2bd63

Please sign in to comment.