Skip to content

Commit 9e90946

Browse files
committed
chore: minor tweaks
1 parent ab617d5 commit 9e90946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/hydration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ export function createHydrationFunctions(
657657
if (next && isComment(next) && next.data === ']') {
658658
return nextSibling((vnode.anchor = next))
659659
} else {
660-
if (!isMismatchAllowed(node.parentElement, 1 /* CHILDREN */)) {
660+
if (!isMismatchAllowed(container, MismatchTypes.CHILDREN)) {
661661
// fragment didn't hydrate successfully, since we didn't get a end anchor
662662
// back. This should have led to node/children mismatch warnings.
663663
logMismatchError()

0 commit comments

Comments
 (0)