Skip to content

Commit

Permalink
emmm
Browse files Browse the repository at this point in the history
  • Loading branch information
yisar committed Oct 18, 2023
1 parent 618047c commit a9faf74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function mount(vnode, isSvg) {
setDOMAttribute(node, key, props[key], isSvg)
}
}

let childrenRef = props.children == null ? null : mount(props.children, isSvg)
childrenRef && insertDom(node, childrenRef)
return {
Expand Down

0 comments on commit a9faf74

Please sign in to comment.