We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab617d5 commit 9e90946Copy full SHA for 9e90946
packages/runtime-core/src/hydration.ts
@@ -657,7 +657,7 @@ export function createHydrationFunctions(
657
if (next && isComment(next) && next.data === ']') {
658
return nextSibling((vnode.anchor = next))
659
} else {
660
- if (!isMismatchAllowed(node.parentElement, 1 /* CHILDREN */)) {
+ if (!isMismatchAllowed(container, MismatchTypes.CHILDREN)) {
661
// fragment didn't hydrate successfully, since we didn't get a end anchor
662
// back. This should have led to node/children mismatch warnings.
663
logMismatchError()
0 commit comments