From 8e3b50c9852eff5b135a6f4ff17432b6c83d6a51 Mon Sep 17 00:00:00 2001 From: Roie Natan Date: Tue, 21 Nov 2023 08:29:05 -0500 Subject: [PATCH] code review update --- src/shared/hooks/useLightThemeOnly.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/hooks/useLightThemeOnly.tsx b/src/shared/hooks/useLightThemeOnly.tsx index 17bd46e1d3..3cfe7961ae 100644 --- a/src/shared/hooks/useLightThemeOnly.tsx +++ b/src/shared/hooks/useLightThemeOnly.tsx @@ -12,7 +12,7 @@ const useLightThemeOnly = () => { if (theme === Theme.Dark) { dispatch(changeTheme(Theme.Light)); } - }, [theme, dispatch, changeTheme]); + }, [theme, dispatch]); }; export default useLightThemeOnly;