Skip to content

Commit

Permalink
Fixed console logging (#173)
Browse files Browse the repository at this point in the history
* Update babel.ts

* changeset
  • Loading branch information
XantreDev authored Jul 17, 2024
1 parent 0440f59 commit 661a86e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/light-teachers-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@preact-signals/utils": patch
---

babel plugin: removed unexpected logging
1 change: 0 additions & 1 deletion packages/utils/src/babel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,6 @@ export default function preactSignalsUtilsBabel(
ObjectMethod: bailOut,
JSXExpressionContainer: {
enter: (path, pass) => {
console.log(path.parent.type === "JSXAttribute");
if (!canBeOptimized(path.parent, path.node)) {
return;
}
Expand Down

0 comments on commit 661a86e

Please sign in to comment.