[ci] yarn format
This commit is contained in:
parent
44a69f7dcb
commit
a9f2f6f6f9
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function check(Component, props, children) {
|
|||
function renderToStaticMarkup(Component, props, children, metadata) {
|
||||
const vnode = h(Component, { ...props, children: h(StaticHtml, { value: children }), innerHTML: children });
|
||||
let html;
|
||||
if(metadata && metadata.hydrate) {
|
||||
if (metadata && metadata.hydrate) {
|
||||
html = renderToString(vnode);
|
||||
} else {
|
||||
html = reactRenderToStaticMarkup(vnode);
|
||||
|
|
Loading…
Reference in a new issue