summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/runtime/server/render/common.ts8
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);
}
}