Skip to content

Commit ee4b208

Browse files
committed
fix: fixed navpanel not opening
1 parent 4fa6458 commit ee4b208

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/components/common/Header/NavBar.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import Logo from "+/components/utils/Logo.astro";
3-
import HamburgerButton from "+/islands/svelte/hamburger-button.svelte";
3+
import NavPanel from "+/islands/svelte/nav-panel.svelte";
44
import { Focus } from "+/schema.ts";
55
66
type Props = {
@@ -37,7 +37,7 @@ const { links, focus }: Props = Astro.props;
3737
}
3838
</nav>
3939
<div class="md:hidden">
40-
<HamburgerButton {links} />
40+
<NavPanel client:load links={links} />
4141
</div>
4242
</div>
4343

src/islands/svelte/NavBar.svelte

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)