Skip to content

Commit 2244a77

Browse files
fix: search component missing from PROD environment (saicaca#268)
Update search component to only be client side for svelte.
1 parent 081ec35 commit 2244a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Navbar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ let links: NavBarLink[] = navBarConfig.links.map(
4444
</div>
4545
<div class="flex">
4646
<!--<SearchPanel client:load>-->
47-
<Search client:load></Search>
47+
<Search client:only="svelte"></Search>
4848
{!siteConfig.themeColor.fixed && (
4949
<button aria-label="Display Settings" class="btn-plain scale-animation rounded-lg h-11 w-11 active:scale-90" id="display-settings-switch">
5050
<Icon name="material-symbols:palette-outline" class="text-[1.25rem]"></Icon>

0 commit comments

Comments
 (0)