From cde8f8220b7f6acfea2c4b23c06d9976995bbeb5 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: Wed, 25 May 2022 00:13:48 +0300 Subject: [PATCH] Extra space --- 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;