mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-02 19:09:41 +05:00
frontend: fix linted errors
This commit is contained in:
parent
9e75a0783c
commit
58ed4007df
9 changed files with 46 additions and 14 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue