diff --git a/source/components/JsxParser.tsx b/source/components/JsxParser.tsx index 2344986..bf3409a 100644 --- a/source/components/JsxParser.tsx +++ b/source/components/JsxParser.tsx @@ -131,7 +131,7 @@ export default class JsxParser extends React.Component { return undefined } return parsedCallee(...expression.arguments.map( - arg => this.#parseExpression(arg, expression.callee), + arg => this.#parseExpression(arg, scope), )) case 'ConditionalExpression': return this.#parseExpression(expression.test, scope)