Skip to content

Commit

Permalink
🪩
Browse files Browse the repository at this point in the history
  • Loading branch information
samijaber committed Oct 29, 2024
1 parent eb8fac7 commit 7521185
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/core/src/generators/builder/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 7521185

Please sign in to comment.