[ci] format

This commit is contained in:
matthewp 2022-09-14 19:44:27 +00:00 committed by fredkbot
parent c271ed35ee
commit 04daafbbdf

View file

@ -69,7 +69,7 @@ async function renderToStaticMarkup(Component, props, { default: children, ...sl
...props,
...slots,
};
if(children != null) {
if (children != null) {
newProps.children = React.createElement(StaticHtml, { value: children });
}
const vnode = React.createElement(Component, newProps);