Skip to content

Commit

Permalink
fix(search): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiguelv committed Nov 5, 2024
1 parent 7c327e0 commit 731612f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/search/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
onMount(() => {
if (browser) {
initializeSearch();
initSearch();
}
});
function initializeSearch() {
function initSearch() {
if (pagefind) {
pagefind.destroy();
}
Expand Down Expand Up @@ -65,7 +65,7 @@
afterNavigate(() => {
if (browser) {
initializeSearch();
initSearch();
}
});
</script>
Expand Down

0 comments on commit 731612f

Please sign in to comment.