diff --git a/frontend/src/Components/AllTimeReportsInProject.tsx b/frontend/src/Components/AllTimeReportsInProject.tsx index fcd0f8f..14d3af9 100644 --- a/frontend/src/Components/AllTimeReportsInProject.tsx +++ b/frontend/src/Components/AllTimeReportsInProject.tsx @@ -30,7 +30,7 @@ function AllTimeReportsInProject(): JSX.Element { // Call getProjects when the component mounts useEffect(() => { void getWeeklyReports(); - }); + }, []); return ( <>