From a31a50965f50db7c60a796e1a77a7e883a5a432c Mon Sep 17 00:00:00 2001 From: Mattias Date: Thu, 21 Mar 2024 12:36:14 +0100 Subject: [PATCH] Update routes and components for PMViewUnsignedReport --- .../src/Components/DisplayUnsignedReports.tsx | 2 +- .../ProjectManagerPages/PMOtherUsersTR.tsx | 7 +----- .../PMViewUnsignedReport.tsx | 22 ++----------------- frontend/src/main.tsx | 2 +- 4 files changed, 5 insertions(+), 28 deletions(-) diff --git a/frontend/src/Components/DisplayUnsignedReports.tsx b/frontend/src/Components/DisplayUnsignedReports.tsx index 9d6f74e..780f20c 100644 --- a/frontend/src/Components/DisplayUnsignedReports.tsx +++ b/frontend/src/Components/DisplayUnsignedReports.tsx @@ -109,7 +109,7 @@ function DisplayUserProject(): JSX.Element {

View Report diff --git a/frontend/src/Pages/ProjectManagerPages/PMOtherUsersTR.tsx b/frontend/src/Pages/ProjectManagerPages/PMOtherUsersTR.tsx index f5c4bc7..c76947b 100644 --- a/frontend/src/Pages/ProjectManagerPages/PMOtherUsersTR.tsx +++ b/frontend/src/Pages/ProjectManagerPages/PMOtherUsersTR.tsx @@ -1,13 +1,8 @@ import BasicWindow from "../../Components/BasicWindow"; import BackButton from "../../Components/BackButton"; -import ViewOtherTimeReport from "../../Components/ViewOtherTimeReport"; function PMOtherUsersTR(): JSX.Element { - const content = ( - <> - - - ); + const content = <>; const buttons = ( <> diff --git a/frontend/src/Pages/ProjectManagerPages/PMViewUnsignedReport.tsx b/frontend/src/Pages/ProjectManagerPages/PMViewUnsignedReport.tsx index aea25fb..c41c2b8 100644 --- a/frontend/src/Pages/ProjectManagerPages/PMViewUnsignedReport.tsx +++ b/frontend/src/Pages/ProjectManagerPages/PMViewUnsignedReport.tsx @@ -1,34 +1,16 @@ import BackButton from "../../Components/BackButton"; import BasicWindow from "../../Components/BasicWindow"; -import Button from "../../Components/Button"; -import TimeReport from "../../Components/NewWeeklyReport"; +import ViewOtherTimeReport from "../../Components/ViewOtherTimeReport"; function PMViewUnsignedReport(): JSX.Element { const content = ( <> -

- Username's Time Report -

- + ); const buttons = ( <> -