From bf3aa2bcdefb99df3787fe043fac301ef84fe98d Mon Sep 17 00:00:00 2001 From: matthewp Date: Mon, 13 Feb 2023 12:51:06 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/runtime/server/render/common.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/astro/src/runtime/server/render/common.ts b/packages/astro/src/runtime/server/render/common.ts index a33ed435d..76faffdbf 100644 --- a/packages/astro/src/runtime/server/render/common.ts +++ b/packages/astro/src/runtime/server/render/common.ts @@ -82,11 +82,11 @@ export function stringifyChunk(result: SSRResult, chunk: string | SlotString | R // Nested element inside of JSX during head buffering phase case ScopeFlags.HeadBuffer: { - if(hasScopeFlag(result, ScopeFlags.JSX | ScopeFlags.HeadBuffer)) { - return ""; - } + if (hasScopeFlag(result, ScopeFlags.JSX | ScopeFlags.HeadBuffer)) { + return ''; + } break; - } + } // Astro.slots.render() should never render head content. case ScopeFlags.RenderSlot | ScopeFlags.Astro: