Skip to content

Commit

Permalink
Update is-static.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed Oct 25, 2024
1 parent f72fd5d commit 1334be9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/core/babel/core/is-static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ export default function isStatic(
if (
t.isIdentifier(node) ||
t.isArrowFunctionExpression(node) ||
t.isFunctionExpression(node) ||
t.isJSXElement(node) ||
t.isJSXFragment(node)
t.isFunctionExpression(node)
// ||
// t.isJSXElement(node) ||
// t.isJSXFragment(node)
) {
return true;
}
Expand Down

0 comments on commit 1334be9

Please sign in to comment.