mirror of
https://github.com/withastro/astro.git
synced 2025-01-13 22:11:20 -05:00
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) {
|
for (const childRender of childRenders) {
|
||||||
|
if (!childRender) continue;
|
||||||
await childRender.renderToFinalDestination(destination);
|
await childRender.renderToFinalDestination(destination);
|
||||||
}
|
}
|
||||||
} else if (typeof child === 'function') {
|
} else if (typeof child === 'function') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue