Skip to content

Commit ed691b0

Browse files
committed
use isDef
1 parent af0629c commit ed691b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/vdom/create-element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function _createElement (
9999
// direct component options / constructor
100100
vnode = createComponent(tag, data, context, children)
101101
}
102-
if (vnode != null) {
102+
if (isDef(vnode)) {
103103
if (ns) applyNS(vnode, ns)
104104
return vnode
105105
} else {

0 commit comments

Comments
 (0)