[ci] yarn format

This commit is contained in:
matthewp 2021-10-05 16:22:58 +00:00 committed by GitHub Actions
parent f8d1a35ace
commit fb0ec06239
2 changed files with 8 additions and 9 deletions

View file

@ -8,8 +8,7 @@ function check(Component, props, children) {
} }
function renderToStaticMarkup(Component, props, children) { function renderToStaticMarkup(Component, props, children) {
const html = renderToString( const html = renderToString(() =>
() =>
createComponent(Component, { createComponent(Component, {
...props, ...props,
// In Solid SSR mode, `ssr` creates the expected structure for `children`. // In Solid SSR mode, `ssr` creates the expected structure for `children`.