From 58ef82f7ae493588c61100545361e091419e6bd7 Mon Sep 17 00:00:00 2001 From: Rick Hanlon Date: Wed, 15 Mar 2023 20:38:50 -0400 Subject: [PATCH] revert --- packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js b/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js index b9b4b94e68715..da1e3e754e1d8 100644 --- a/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js +++ b/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js @@ -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; }