@@ -120,7 +120,7 @@ export const transformElement: NodeTransform = (node, context) => {
if (!hasProps) {
args.push(`null`)
}
- if (isComponent) {
+ if (isComponent || node.tagType === ElementTypes.SUSPENSE) {
const { slots, hasDynamicSlots } = buildSlots(node, context)
args.push(slots)
if (hasDynamicSlots) {