Skip to content

Commit 55e8b12

Browse files
trueadmdummdidumm
andauthored
Update packages/svelte/src/internal/client/runtime.js
Co-authored-by: Simon H <[email protected]>
1 parent 8111f04 commit 55e8b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/runtime.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ export function update_reaction(reaction) {
476476
// we need to increment the read version to ensure that
477477
// any dependencies in this reaction aren't marked with
478478
// the same version
479-
if (previous_reaction !== null && previous_reaction !== reaction) {
479+
if (previous_reaction !== reaction) {
480480
read_version++;
481481

482482
if (untracked_writes !== null) {

0 commit comments

Comments
 (0)