diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 954274a..f0a24f3 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -16,7 +16,7 @@ let { children, data }: { children: Snippet; data: { profile: Profile } } = $props(); let sidebar_show = $state(false); - let sidebar_transitioning = $state(false); + let sidebar_shown = $state(false); const authStore = createAuthStore(); @@ -32,7 +32,7 @@ }); const toggle_show_sidebar = () => { - if (sidebar_transitioning) return; + if (sidebar_shown) return; sidebar_show = !sidebar_show; }; @@ -50,8 +50,8 @@