Minor fix

This commit is contained in:
Mattias 2024-03-20 16:36:39 +01:00
parent a3fc71f4bf
commit 0befc4c7d1

View file

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