Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
josephsavona committed Mar 29, 2023
1 parent 868234b commit 61fd2ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/react-reconciler/src/__tests__/useMemoCache-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ describe('useMemoCache()', () => {
const cache = useMemoCache(5);

// x is used to produce a `data` object passed to the child
const [x, _setX] = useState(0);
setX = _setX;
const [x] = useState(0);

const c_0 = x !== cache[0];
let data;
Expand Down

0 comments on commit 61fd2ab

Please sign in to comment.