From 74c40dff2dc34e4e6fa779511d843c4c3532502b Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 9 Aug 2019 16:44:04 +0200 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Sunil Pai --- .../__tests__/ESLintRuleExhaustiveDeps-test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js b/packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js index b35af7da5a0c7..72130f4b830a0 100644 --- a/packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js +++ b/packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js @@ -521,7 +521,6 @@ const tests = { // Valid because the ref is captured. code: ` function useMyThing(myRef) { - myRef = useRef(); useEffect(() => { const handleMove = () => {}; const node = myRef.current;