Skip to content

Commit 8d4c569

Browse files
committed
fix(runtime-core): hydrate Static vnode
1 parent 3cfe5f9 commit 8d4c569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/hydration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export function createHydrationFunctions(
150150
}
151151
break
152152
case Static:
153-
if (domType !== DOMNodeTypes.ELEMENT) {
153+
if (domType !== DOMNodeTypes.ELEMENT && domType !== DOMNodeTypes.TEXT) {
154154
nextNode = onMismatch()
155155
} else {
156156
// determine anchor, adopt content

0 commit comments

Comments
 (0)