Minor fix
This commit is contained in:
parent
a3fc71f4bf
commit
0befc4c7d1
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ export default function TimePerRole(): JSX.Element {
|
||||||
Tester: number;
|
Tester: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
const fetchWeeklyReport = async (): Promise<void> => {
|
const fetchTimePerRole = async (): Promise<void> => {
|
||||||
// Use mock data
|
// Use mock data
|
||||||
const report: TimePerRole = {
|
const report: TimePerRole = {
|
||||||
PManager: 120,
|
PManager: 120,
|
||||||
|
@ -60,7 +60,7 @@ export default function TimePerRole(): JSX.Element {
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
void fetchWeeklyReport();
|
void fetchTimePerRole();
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue