mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix eslint
This commit is contained in:
@@ -35,7 +35,7 @@ const useTheme = (): [string, (theme: string) => void] => {
|
||||
return 'yotsuba-b';
|
||||
}
|
||||
return 'yotsuba';
|
||||
}, [location.pathname, subplebbitAddress, subplebbits, getTheme]);
|
||||
}, [subplebbitAddress, subplebbits, getTheme, isInAllView, isInHomeView, isInNotFoundView, isInSubscriptionsView]);
|
||||
|
||||
const [theme, setLocalTheme] = useState(initialTheme);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user