fix eslint

This commit is contained in:
Tom (plebeius.eth)
2024-12-24 17:15:51 +01:00
parent eb3a630cc3
commit dd6a4121fb
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ const useTheme = (): [string, (theme: string) => void] => {
setCurrentTheme('tomorrow');
updateThemeClass('tomorrow');
}
}, [isEnabled, setIsEnabled, params, pendingPostSubplebbitAddress, location.pathname]);
}, [isEnabled, setIsEnabled, params, pendingPostSubplebbitAddress, location.pathname, isInAllView, isInSubscriptionsView]);
const getCurrentTheme = useCallback(() => {
const { isEnabled } = useSpecialThemeStore.getState();