Fix inferno bug with null children

This commit is contained in:
Ilya Ig. Petrov 2017-06-01 14:11:09 +05:00
parent 97734e79ab
commit a97c76c345

View File

@ -136,7 +136,8 @@ export default function getInfoLi() {
: (<span>&nbsp;</span>) // Affects vertical align of flexbox items.
)
}
{props.children && (<div class={scopedCss.children}>{props.children}</div>)}
{ props.checked && props.children }
{/* props.checked && (<div class={scopedCss.children}>{props.children}</div>)*/}
</li>
);