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;