added eslint disabling
Some checks failed
checks-impure / test (pull_request) Successful in 28s
checks / test (pull_request) Failing after 1m53s

This commit is contained in:
sara-pervana
2023-12-12 22:05:24 +01:00
parent 760b4add33
commit 85d96203e3
6 changed files with 6 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ export default function AccessPoint() {
}, 1000);
return () => clearInterval(interval);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (

View File

@@ -63,6 +63,7 @@ export default function Client1() {
}, 1000);
return () => clearInterval(interval);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
if (isLoading)

View File

@@ -61,6 +61,7 @@ export default function Client2() {
}, 1000);
return () => clearInterval(interval);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
if (isLoading)

View File

@@ -20,6 +20,7 @@ export default function DLG() {
}, 5000);
return () => clearInterval(interval);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (

View File

@@ -25,6 +25,7 @@ export default function Home() {
}, 500);
return () => clearInterval(interval);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (

View File

@@ -23,6 +23,7 @@ const useFetch = (url: string) => {
useEffect(() => {
fetch();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [url]);
return { data, loading, error, fetch };