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