mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
chore: disable some linting errors
This commit is contained in:
parent
ff3753a951
commit
e441f3ffb7
3 changed files with 22 additions and 15 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue