Skip to content

Commit

Permalink
fix(runtime-core): hydrate Static vnode
Browse files Browse the repository at this point in the history
  • Loading branch information
liulinboyi committed May 26, 2022
1 parent 3cfe5f9 commit 8d4c569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/hydration.ts
Expand Up @@ -150,7 +150,7 @@ export function createHydrationFunctions(
}
break
case Static:
if (domType !== DOMNodeTypes.ELEMENT) {
if (domType !== DOMNodeTypes.ELEMENT && domType !== DOMNodeTypes.TEXT) {
nextNode = onMismatch()
} else {
// determine anchor, adopt content
Expand Down

0 comments on commit 8d4c569

Please sign in to comment.