Skip to content

Commit 650e9f7

Browse files
DAEKYU YOONDAEKYU YOON
authored andcommitted
Persist search component across route transitions
1 parent 965b267 commit 650e9f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/PageSearch.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import Default from '@astrojs/starlight/components/Search.astro';
44
---
55

6-
<div data-page-search>
6+
<div data-page-search transition:persist>
77
<button
88
aria-label="Search"
99
class="page-search-button"

0 commit comments

Comments
 (0)