Skip to content

Commit

Permalink
fix: use stringifyChunk in renderToString fn
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Aug 5, 2022
1 parent c9b679e commit 6eaad4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/runtime/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ export async function renderToString(

let html = '';
for await (const chunk of renderAstroComponent(Component)) {
html += chunk;
html += stringifyChunk(result, chunk);
}
return html;
}
Expand Down

0 comments on commit 6eaad4a

Please sign in to comment.