Skip to content

Commit

Permalink
Extra space (#24612)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokenizer-decode authored Jun 17, 2022
1 parent 229c86a commit 7cf9f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export default {
const currentRefsInEffectCleanup = new Map();

// Is this reference inside a cleanup function for this effect node?
// We can check by traversing scopes upwards from the reference, and checking
// We can check by traversing scopes upwards from the reference, and checking
// if the last "return () => " we encounter is located directly inside the effect.
function isInsideEffectCleanup(reference) {
let curScope = reference.from;
Expand Down

0 comments on commit 7cf9f5e

Please sign in to comment.