chore: disable some linting errors

This commit is contained in:
Kentai Radiquum 2024-11-21 23:07:10 +05:00
parent ff3753a951
commit e441f3ffb7
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 22 additions and 15 deletions

View file

@ -147,6 +147,7 @@ export function SearchPage() {
}
setContent(allReleases);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [data]);
const scrollPosition = useScrollPosition();
@ -170,6 +171,7 @@ export function SearchPage() {
if (searchVal && searchVal.length % 4 == 1) {
_executeSearch(searchVal.trim());
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [searchVal]);
if (error) return <div>failed to load: {error.message}</div>;