Skip to content

Commit e7bc3cb

Browse files
authored
snapshot recents (#205)
1 parent 0e1b80d commit e7bc3cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/site-kit/src/lib/search/SearchBox.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ It appears when the user clicks on the `Search` component or presses the corresp
9696
9797
$effect(() => {
9898
if (ready) {
99-
worker.postMessage({ type: 'recents', payload: $search_recent });
99+
worker.postMessage({ type: 'recents', payload: $state.snapshot($search_recent) });
100100
}
101101
});
102102

0 commit comments

Comments
 (0)