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 23aa0fe commit 2c6e55aCopy full SHA for 2c6e55a
src/utils/resolveToModule.js
@@ -36,6 +36,7 @@ export default function resolveToModule(path: NodePath): ?string {
36
}
37
return resolveToModule(path.get('callee'));
38
case types.Identifier.name:
39
+ case types.JSXIdentifier.name:
40
var valuePath = resolveToValue(path);
41
if (valuePath !== path) {
42
return resolveToModule(valuePath);
0 commit comments