[ci] yarn format

This commit is contained in:
matthewp 2021-11-11 16:56:59 +00:00 committed by GitHub Actions
parent b958088c3d
commit 7bb768ddab

View file

@ -296,7 +296,7 @@ export async function renderPage(result: SSRResult, Component: AstroComponentFac
}); });
}); });
if (needsHydrationStyles) { if (needsHydrationStyles) {
styles.push(renderElement('style', { props: { 'astro-style': true },children: 'astro-root, astro-fragment { display: contents; }' })) styles.push(renderElement('style', { props: { 'astro-style': true }, children: 'astro-root, astro-fragment { display: contents; }' }));
} }
return template.replace('</head>', styles.join('\n') + scripts.join('\n') + '</head>'); return template.replace('</head>', styles.join('\n') + scripts.join('\n') + '</head>');
} }