Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Mar 16, 2023
1 parent 30b8ce9 commit 58ef82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,7 @@ function isAncestorNodeOf(a, b) {

function isUseEffectEventIdentifier(node) {
if (__EXPERIMENTAL__) {
return node.type === 'Identifier' && (node.name === 'useEffectEvent' || node.name === 'experimental_useEffectEvent') ;
return node.type === 'Identifier' && node.name === 'useEffectEvent';
}
return false;
}

0 comments on commit 58ef82f

Please sign in to comment.