@samitouri / QOS-React-2 / commits / 7cf9f5e03a

Extra space (#24612)

Kerim Büyükakyüz committed Jun 17, 2022 at 20:43 UTC 7cf9f5e03a245b4a879c5abc84e5ffb2824370e4
1 file changed +1 -1
packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
+1 -1
@@ -352,7 +352,7 @@ export default {
352 const currentRefsInEffectCleanup = new Map();
353
354 // Is this reference inside a cleanup function for this effect node?
355 - // We can check by traversing scopes upwards from the reference, and checking
355 + // We can check by traversing scopes upwards from the reference, and checking
356 // if the last "return () => " we encounter is located directly inside the effect.
357 function isInsideEffectCleanup(reference) {
358 let curScope = reference.from;