fix eslint

This commit is contained in:
Tom (plebeius.eth)
2024-06-17 17:50:26 +02:00
parent f045c2dbf5
commit bf806d6990
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);