parent
b3cf1b3276
commit
b92d066b73
2 changed files with 6 additions and 0 deletions
5
.changeset/tame-fans-happen.md
Normal file
5
.changeset/tame-fans-happen.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix issue where `renderToFinalDestination` would throw in internal Astro code
|
|
@ -18,6 +18,7 @@ export async function renderChild(destination: RenderDestination, child: any) {
|
|||
});
|
||||
});
|
||||
for (const childRender of childRenders) {
|
||||
if (!childRender) continue;
|
||||
await childRender.renderToFinalDestination(destination);
|
||||
}
|
||||
} else if (typeof child === 'function') {
|
||||
|
|
Loading…
Reference in a new issue