Skip to content

Commit 74c40df

Browse files
SimenBSunil Pai
andcommitted
Apply suggestions from code review
Co-Authored-By: Sunil Pai <threepointone@oculus.com>
1 parent 6feb032 commit 74c40df

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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)