Skip to content

Commit eb18e82

Browse files
committed
remove unused state
1 parent cc6d07e commit eb18e82

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/site-kit/src/lib/nav/Nav.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ Top navigation bar for the application. It provides a slot for the left side, th
3030
let current = $state.raw<NavigationLink | undefined>();
3131
let menu_button: HTMLButtonElement;
3232
33-
let nav: HTMLElement | undefined = $state();
34-
3533
// Prevents navbar to show/hide when clicking in docs sidebar
3634
let hash_changed = false;
3735
function handle_hashchange() {
@@ -68,7 +66,6 @@ Top navigation bar for the application. It provides a slot for the left side, th
6866
/>
6967

7068
<nav
71-
bind:this={nav}
7269
class:visible
7370
style:z-index={$overlay_open && ($searching || $on_this_page_open) ? 80 : null}
7471
aria-label="Primary"

0 commit comments

Comments
 (0)