Fix useEffect dependency in AllTimeReportsInProject component
This commit is contained in:
parent
b99de71c38
commit
e4f5fbda44
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function AllTimeReportsInProject(): JSX.Element {
|
|||
// Call getProjects when the component mounts
|
||||
useEffect(() => {
|
||||
void getWeeklyReports();
|
||||
});
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Reference in a new issue