Skip to content

Commit

Permalink
Update get-hoc-definition-from-callee.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed Feb 24, 2024
1 parent c0d3f03 commit a83a2cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function getHOCDefinitionFromCallee(
if (id) {
const binding = path.scope.getBindingIdentifier(id.name);
if (binding) {
return ctx.registrations.hooks.identifiers.get(binding);
return ctx.registrations.hocs.identifiers.get(binding);
}
return undefined;
}
Expand Down

0 comments on commit a83a2cf

Please sign in to comment.