diff --git a/src/lib/components/Navbar/Navbar.svelte b/src/lib/components/Navbar/Navbar.svelte index b9d15ae..b415f63 100644 --- a/src/lib/components/Navbar/Navbar.svelte +++ b/src/lib/components/Navbar/Navbar.svelte @@ -21,9 +21,7 @@ } } - onMount(() => { - return navigating.subscribe(updateCurrent) - }) + onMount(() => navigating.subscribe(updateCurrent))