Skip to content

Commit ee1e1a5

Browse files
committed
refactor(runtime-core): use 'createTextVNode' replacement 'createVNode'
1 parent 1070f12 commit ee1e1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/runtime-core/src/vnode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ export function normalizeVNode(child: VNodeChild): VNode {
719719
return cloneIfMounted(child)
720720
} else {
721721
// strings and numbers
722-
return createVNode(Text, null, String(child))
722+
return createTextVNode(String(child))
723723
}
724724
}
725725

0 commit comments

Comments
 (0)