Skip to content

Commit

Permalink
Extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
tokenizer-decode authored May 24, 2022
1 parent a250579 commit cde8f82
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 cde8f82

Please sign in to comment.