diff --git a/site/unity/vanillajsx.ts b/site/unity/vanillajsx.ts index 549db30..71426ac 100644 --- a/site/unity/vanillajsx.ts +++ b/site/unity/vanillajsx.ts @@ -118,7 +118,7 @@ function pushChildren(parent: babel.types.ObjectExpression, path: babel.NodePath parent.properties.push(t.objectProperty(t.identifier("children"), child.argument)); } else { - parent.properties.push(t.objectProperty(t.identifier("child"), child)); + parent.properties.push(t.objectProperty(t.identifier("children"), child)); } } else if (children.length > 0) {