Skip to content

Commit

Permalink
Fix search
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ committed Mar 28, 2023
1 parent bad1780 commit 99611ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sites/svelte.dev/src/routes/search/+page.server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { init, inited, search } from '$lib/search/search.js';
import { init, inited, search } from '@sveltejs/site-kit/search';

/** @type {import('./$types').PageServerLoad} */
export async function load({ url, fetch }) {
Expand All @@ -16,6 +16,6 @@ export async function load({ url, fetch }) {

return {
query,
results
results,
};
}
2 changes: 1 addition & 1 deletion sites/svelte.dev/src/routes/search/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import SearchResults from '$lib/search/SearchResults.svelte';
import { SearchResults } from '@sveltejs/site-kit/search';
/** @type {import('./$types').PageData} */
export let data;
Expand Down

1 comment on commit 99611ad

@vercel
Copy link

@vercel vercel bot commented on 99611ad Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svelte-dev-2 – ./

svelte-dev-2.vercel.app
svelte-dev-2-svelte.vercel.app
svelte-dev-2-git-sites-svelte.vercel.app

Please sign in to comment.