[ci] yarn format
This commit is contained in:
parent
b958088c3d
commit
7bb768ddab
1 changed files with 4 additions and 4 deletions
|
@ -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>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue