Skip to content

Commit 71284fa

Browse files
committed
chore: update
1 parent 8631cfb commit 71284fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/runtime-core/src/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ export interface ComponentInternalInstance {
582582
* For updating css vars on contained teleports
583583
* @internal
584584
*/
585-
ut?: (target: RendererElement, vars?: Record<string, string>) => void
585+
ut?: (target: RendererElement | null, vars?: Record<string, string>) => void
586586

587587
/**
588588
* dev only. For style v-bind hydration mismatch checks

packages/runtime-core/src/components/Teleport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ function updateCssVars(vnode: VNode, isDisabled: boolean) {
480480
if (node.nodeType === 1) node.setAttribute('data-v-owner', ctx.uid)
481481
node = node.nextSibling
482482
}
483-
ctx.ut(node.target)
483+
ctx.ut(vnode.target)
484484
}
485485
}
486486

0 commit comments

Comments
 (0)