frontend: fix linted errors

This commit is contained in:
Kentai Radiquum 2024-04-23 18:52:41 +05:00
parent 9e75a0783c
commit 58ed4007df
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
9 changed files with 46 additions and 14 deletions

View file

@ -53,12 +53,14 @@ export default function Search() {
setQuery(query);
fetchData(query, 0);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
useEffect(() => {
if (releases) {
fetchData(query, page); // Use fetchData for pagination
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [page]);
const handleInput = (e) => {