[ci] format
This commit is contained in:
parent
79783fc018
commit
bf3aa2bcde
1 changed files with 4 additions and 4 deletions
|
@ -82,11 +82,11 @@ export function stringifyChunk(result: SSRResult, chunk: string | SlotString | R
|
||||||
|
|
||||||
// Nested element inside of JSX during head buffering phase
|
// Nested element inside of JSX during head buffering phase
|
||||||
case ScopeFlags.HeadBuffer: {
|
case ScopeFlags.HeadBuffer: {
|
||||||
if(hasScopeFlag(result, ScopeFlags.JSX | ScopeFlags.HeadBuffer)) {
|
if (hasScopeFlag(result, ScopeFlags.JSX | ScopeFlags.HeadBuffer)) {
|
||||||
return "";
|
return '';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Astro.slots.render() should never render head content.
|
// Astro.slots.render() should never render head content.
|
||||||
case ScopeFlags.RenderSlot | ScopeFlags.Astro:
|
case ScopeFlags.RenderSlot | ScopeFlags.Astro:
|
||||||
|
|
Loading…
Reference in a new issue