From 25865db04362833f0311d06a4ab86ef4b1e26c09 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;