From 04daafbbdf53e41a3612417e5f55837d5c98d54f Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 14 Sep 2022 19:44:27 +0000 Subject: [PATCH] [ci] format --- packages/integrations/react/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/react/server.js b/packages/integrations/react/server.js index d7aaf7755..c4e77bb91 100644 --- a/packages/integrations/react/server.js +++ b/packages/integrations/react/server.js @@ -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);