diff options
author | 2022-11-08 17:17:13 +0000 | |
---|---|---|
committer | 2022-11-08 17:17:13 +0000 | |
commit | eed81fa213bc0bd26384074bf0007323f04623f7 (patch) | |
tree | 88705509ca39ab124bbbbc23eaa303f08fecc990 | |
parent | 88c1bbe3a71f85e92f42f13d0f310c6b2a264ade (diff) | |
download | astro-eed81fa213bc0bd26384074bf0007323f04623f7.tar.gz astro-eed81fa213bc0bd26384074bf0007323f04623f7.tar.zst astro-eed81fa213bc0bd26384074bf0007323f04623f7.zip |
[ci] format
-rw-r--r-- | packages/astro/src/runtime/server/render/common.ts | 8 |
1 files 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 ef33ae3ee..9563959d2 100644 --- a/packages/astro/src/runtime/server/render/common.ts +++ b/packages/astro/src/runtime/server/render/common.ts @@ -40,11 +40,11 @@ export function stringifyChunk(result: SSRResult, chunk: string | SlotString | R } } default: { - if(isSlotString(chunk as string)) { + if (isSlotString(chunk as string)) { let out = ''; - const c = (chunk as SlotString); - if(c.instructions) { - for(const instr of c.instructions) { + const c = chunk as SlotString; + if (c.instructions) { + for (const instr of c.instructions) { out += stringifyChunk(result, instr); } } |