Skip to content

Commit 8f85d7d

Browse files
committed
fix
1 parent ecdfd5b commit 8f85d7d

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/reactivity/batch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export class Batch {
186186

187187
// If sources are written to, then work needs to happen in a separate batch, else prior sources would be mixed with
188188
// newly updated sources, which could lead to infinite loops when effects run over and over again.
189-
previous_batch = current_batch;
189+
previous_batch = this;
190190
current_batch = null;
191191

192192
flush_queued_effects(render_effects);

0 commit comments

Comments
 (0)