aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reactHelper.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reactHelper.js')
-rw-r--r--modern/src/reactHelper.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/reactHelper.js b/modern/src/reactHelper.js
index 9286c577..b0eb0169 100644
--- a/modern/src/reactHelper.js
+++ b/modern/src/reactHelper.js
@@ -7,10 +7,10 @@ export const usePrevious = value => {
ref.current = value;
});
return ref.current;
-}
+};
export const useEffectAsync = (effect, deps) => {
useEffect(() => {
effect();
- }, deps);
-}
+ }, deps); // eslint-disable-line react-hooks/exhaustive-deps
+};