chore: disable unrelated eslint rules

This commit is contained in:
Kentai Radiquum 2024-08-23 05:12:46 +05:00
parent ff11a90a5e
commit 733e138233
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
20 changed files with 43 additions and 16 deletions

View file

@ -76,6 +76,7 @@ export function CollectionsFullPage(props: {
if (scrollPosition >= 98 && scrollPosition <= 99) {
setSize(size + 1);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [scrollPosition]);
useEffect(() => {
@ -86,6 +87,7 @@ export function CollectionsFullPage(props: {
) {
router.push(`/login?redirect=/collections/favorites`);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [userStore.state, userStore.token]);
return (