From 7cf9f5e03a245b4a879c5abc84e5ffb2824370e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kerim=20B=C3=BCy=C3=BCkaky=C3=BCz?= <99087793+kbuyukakyuz@users.noreply.github.com> Date: Fri, 17 Jun 2022 20:43:17 +0300 Subject: [PATCH] Extra space (#24612) --- packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js b/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js index 26d9688ac17c4..c2341886872c1 100644 --- a/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js +++ b/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js @@ -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;