Skip to content

Commit b7ce9a9

Browse files
SimenBSunil Pai
andcommitted
Apply suggestions from code review
Co-Authored-By: Sunil Pai <[email protected]>
1 parent 78130ee commit b7ce9a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ const tests = {
521521
// Valid because the ref is captured.
522522
code: `
523523
function useMyThing(myRef) {
524-
myRef = useRef();
525524
useEffect(() => {
526525
const handleMove = () => {};
527526
const node = myRef.current;

0 commit comments

Comments
 (0)