diff --git a/src/layout/Navbar.svelte b/src/layout/Navbar.svelte index 4cd8c13..3bd40a6 100644 --- a/src/layout/Navbar.svelte +++ b/src/layout/Navbar.svelte @@ -33,7 +33,6 @@ } } - // Cleanup on component destroy onDestroy(() => { if (typeof document !== 'undefined') { document.body.style.overflow = ''; @@ -51,7 +50,7 @@ setTimeout(() => { mobileMenuOpen = false; isClosing = false; - }, 300); // Match animation duration + }, 300); } function handleNavigation(path, options = {}) { @@ -123,7 +122,7 @@ -