Skip to content

Commit 15f2342

Browse files
trueadmdummdidumm
andauthored
Update packages/svelte/src/store/utils.js
Co-authored-by: Simon H <[email protected]>
1 parent 2a4f28b commit 15f2342

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/svelte/src/store/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export function subscribe_to_store(store, run, invalidate) {
2121
}
2222

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

0 commit comments

Comments
 (0)