We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f957109 commit 7ce5f43Copy full SHA for 7ce5f43
lib/plugin.js
@@ -409,6 +409,7 @@ function isFunctionIsland(functionAST) {
409
},
410
JSXAttribute(node) {
411
if (
412
+ node.value &&
413
node.value.type === 'JSXExpressionContainer' &&
414
(node.value.expression.type === 'ArrowFunctionExpression' ||
415
(node.value.expression.type == 'Identifier' &&
0 commit comments