Skip to content

Commit c082df6

Browse files
committed
refactor: remove unneeded subs property access
1 parent 17b2012 commit c082df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/reactivity/src/system.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ function checkDirty(link: Link): boolean {
310310
if (sub.update()) {
311311
if ((link = subSubs.prevSub!) !== undefined) {
312312
subSubs.prevSub = undefined
313-
shallowPropagate(sub.subs!)
313+
shallowPropagate(subSubs)
314314
sub = link.sub as Computed
315315
} else {
316316
sub = subSubs.sub as Computed

0 commit comments

Comments
 (0)