diff --git a/packages/astro/src/runtime/server/jsx.ts b/packages/astro/src/runtime/server/jsx.ts index 35775a3c3c..4cd5c4905c 100644 --- a/packages/astro/src/runtime/server/jsx.ts +++ b/packages/astro/src/runtime/server/jsx.ts @@ -59,8 +59,12 @@ export async function renderJSX(result: SSRResult, vnode: any): Promise { // Extract the skip from the props, if we've already attempted a previous render let skip: Skip; - if (vnode.props[Skip.symbol]) { - skip = vnode.props[Skip.symbol]; + if(vnode.props) { + if (vnode.props[Skip.symbol]) { + skip = vnode.props[Skip.symbol]; + } else { + skip = new Skip(vnode); + } } else { skip = new Skip(vnode); }