Fix useEffect dependency in AllTimeReportsInProject component

This commit is contained in:
Davenludd 2024-03-20 16:46:27 +01:00
parent b99de71c38
commit e4f5fbda44

View file

@ -31,7 +31,7 @@ function AllTimeReportsInProject(): JSX.Element {
// Call getProjects when the component mounts // Call getProjects when the component mounts
useEffect(() => { useEffect(() => {
void getWeeklyReports(); void getWeeklyReports();
}); }, []);
return ( return (
<> <>