Skip to content

Commit

Permalink
snapshot recents (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Oct 1, 2024
1 parent 0e1b80d commit e7bc3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/site-kit/src/lib/search/SearchBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ It appears when the user clicks on the `Search` component or presses the corresp
$effect(() => {
if (ready) {
worker.postMessage({ type: 'recents', payload: $search_recent });
worker.postMessage({ type: 'recents', payload: $state.snapshot($search_recent) });
}
});
Expand Down

0 comments on commit e7bc3cb

Please sign in to comment.