mirror of
https://git.roussel.pro/telecom-paris/pact.git
synced 2026-02-09 10:30:17 +01:00
page stats fonctionelle et connectée a la bdd
This commit is contained in:
@@ -20,7 +20,7 @@ export default function useStats(limit, interval) {
|
||||
|
||||
useEffect(() => {
|
||||
fetchData(limit, interval);
|
||||
}, [])
|
||||
}, [limit, interval])
|
||||
|
||||
return {stats, loading, error};
|
||||
}
|
||||
Reference in New Issue
Block a user