From 7521185c51c25a8d8948da8e8d144ee327304b47 Mon Sep 17 00:00:00 2001 From: Sami Jaber Date: Tue, 29 Oct 2024 19:02:39 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/generators/builder/generator.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/core/src/generators/builder/generator.ts b/packages/core/src/generators/builder/generator.ts index 5d4f472691..bf97c4674a 100644 --- a/packages/core/src/generators/builder/generator.ts +++ b/packages/core/src/generators/builder/generator.ts @@ -175,10 +175,8 @@ const componentMappers: { babelTraverse(programNode, { Program(path) { - if (path.scope.hasBinding(target)) { - console.log('has binding'); - return; - } + if (path.scope.hasBinding(target)) return; + const x = { id: types.identifier(target), init: types.identifier('PLACEHOLDER'),