fix: svelte component definition in the html code to use client:only="svelte" (#336)
This commit is contained in:
parent
b409c4259c
commit
46415dec88
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ let links: NavBarLink[] = navBarConfig.links.map(
|
|||
<Icon name="material-symbols:palette-outline" class="text-[1.25rem]"></Icon>
|
||||
</button>
|
||||
)}
|
||||
<LightDarkSwitch client:load></LightDarkSwitch>
|
||||
<LightDarkSwitch client:only="svelte"></LightDarkSwitch>
|
||||
<button aria-label="Menu" name="Nav Menu" class="btn-plain scale-animation rounded-lg w-11 h-11 active:scale-90 md:!hidden" id="nav-menu-switch">
|
||||
<Icon name="material-symbols:menu-rounded" class="text-[1.25rem]"></Icon>
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue