mirror of
https://git.roussel.pro/telecom-paris/pact.git
synced 2026-04-11 00:50:18 +02: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