mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix eslint
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user