From ddea76e24a781b4695cd06f09869dd6954a597a3 Mon Sep 17 00:00:00 2001 From: al8763be Date: Wed, 20 Mar 2024 22:47:02 +0100 Subject: [PATCH 1/2] fixed AllTimeReportsInProject --- frontend/src/Components/AllTimeReportsInProject.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ( <> From a2a8ccd185425b9448381e864d7c3f02f53dd4eb Mon Sep 17 00:00:00 2001 From: al8763be Date: Wed, 20 Mar 2024 23:18:51 +0100 Subject: [PATCH 2/2] =?UTF-8?q?b=C3=A4ttre=20st=C3=A4mmning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing.py b/testing.py index 384d7ce..b8fbe43 100644 --- a/testing.py +++ b/testing.py @@ -274,7 +274,7 @@ def test_sign_report(): submitReportPath, json={ "projectName": projectName, - "week": 1, + "week": 2, "developmentTime": 10, "meetingTime": 5, "adminTime": 5,