From 8e60ba405b516ed6a73040817507a6aa16ad2360 Mon Sep 17 00:00:00 2001 From: Davenludd Date: Sun, 14 Apr 2024 15:25:13 +0200 Subject: [PATCH] Update UserViewTimeReportsPage to include Total Time In Project button --- .../src/Pages/UserPages/UserViewTimeReportsPage.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/src/Pages/UserPages/UserViewTimeReportsPage.tsx b/frontend/src/Pages/UserPages/UserViewTimeReportsPage.tsx index cc12902..809b38a 100644 --- a/frontend/src/Pages/UserPages/UserViewTimeReportsPage.tsx +++ b/frontend/src/Pages/UserPages/UserViewTimeReportsPage.tsx @@ -1,7 +1,8 @@ import BasicWindow from "../../Components/BasicWindow"; import BackButton from "../../Components/BackButton"; -import { useParams } from "react-router-dom"; +import { useParams, Link } from "react-router-dom"; import AllTimeReportsInProject from "../../Components/AllTimeReportsInProject"; +import Button from "../../Components/Button"; function UserViewTimeReportsPage(): JSX.Element { const { projectName } = useParams(); @@ -17,6 +18,15 @@ function UserViewTimeReportsPage(): JSX.Element { const buttons = ( <> + +