Skip to content

Commit

Permalink
Update packages/svelte/src/store/utils.js
Browse files Browse the repository at this point in the history
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
  • Loading branch information
trueadm and dummdidumm authored Oct 24, 2024
1 parent 2a4f28b commit 15f2342
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/svelte/src/store/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function subscribe_to_store(store, run, invalidate) {
}

// Svelte store takes a private second argument
// StartStopNotifier could mutate state, and we want to silence the corresponding validation error
const unsub = untrack(() =>
store.subscribe(
run,
Expand Down

0 comments on commit 15f2342

Please sign in to comment.