Fix useEffect dependency in AllTimeReportsInProject component

This commit is contained in:
Davenludd 2024-03-20 14:06:54 +01:00
parent 4574af25cb
commit adf9500bbf

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 (
<> <>