Skip to content

Commit 58ef82f

Browse files
committed
revert
1 parent 30b8ce9 commit 58ef82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ function isAncestorNodeOf(a, b) {
18561856

18571857
function isUseEffectEventIdentifier(node) {
18581858
if (__EXPERIMENTAL__) {
1859-
return node.type === 'Identifier' && (node.name === 'useEffectEvent' || node.name === 'experimental_useEffectEvent') ;
1859+
return node.type === 'Identifier' && node.name === 'useEffectEvent';
18601860
}
18611861
return false;
18621862
}

0 commit comments

Comments
 (0)