Skip to content

Commit

Permalink
Passes snapshot to svelte serverice worker instead of proxy. Fixes #1931
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbos committed Jan 10, 2025
1 parent 89e5914 commit 69bd07c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/search/SearchBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
run(() => {
if (ready) {
worker.postMessage({ type: 'recents', payload: $search_recent });
console.log('recents', $search_recent);
worker.postMessage({ type: 'recents', payload: $state.snapshot($search_recent) });
}
});
Expand Down

0 comments on commit 69bd07c

Please sign in to comment.