We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
true
1 parent 6ce1519 commit 3177a48Copy full SHA for 3177a48
src/index.js
@@ -58,7 +58,7 @@ export default function renderToString(vnode, context, opts, inner, isSvgMode) {
58
let pretty = opts.pretty,
59
indentChar = typeof pretty==='string' ? pretty : '\t';
60
61
- if (vnode==null || vnode===false) {
+ if (vnode==null || typeof vnode==='boolean') {
62
return '';
63
}
64
0 commit comments