Skip to content

Commit

Permalink
fix(reactivety): sync watch should be executed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
linzhe141 committed Aug 12, 2024
1 parent 5238e5a commit 03a530f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactivity/src/dep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class Dep {
}
}
}
for (let link = this.subs; link; link = link.prevSub) {
for (let link = this.subsHead; link; link = link.nextSub) {
link.sub.notify()
}
} finally {
Expand Down

0 comments on commit 03a530f

Please sign in to comment.