Add UserViewStatistics component to main.tsx

This commit is contained in:
Davenludd 2024-04-14 15:23:42 +02:00
parent 9ec7261a94
commit 980ac19199

View file

@ -9,6 +9,7 @@ import AdminMenuPage from "./Pages/AdminPages/AdminMenuPage.tsx";
import UserEditTimeReportPage from "./Pages/UserPages/UserEditTimeReportPage.tsx";
import UserNewTimeReportPage from "./Pages/UserPages/UserNewTimeReportPage.tsx";
import UserViewTimeReportsPage from "./Pages/UserPages/UserViewTimeReportsPage.tsx";
import UserViewStatistics from "./Pages/UserPages/UserViewStatistics.tsx";
import PMChangeRole from "./Pages/ProjectManagerPages/PMChangeRole.tsx";
import PMOtherUsersTR from "./Pages/ProjectManagerPages/PMOtherUsersTR.tsx";
import PMProjectMembers from "./Pages/ProjectManagerPages/PMProjectMembers.tsx";
@ -58,6 +59,10 @@ const router = createBrowserRouter([
path: "/editTimeReport/:projectName/:fetchedWeek/:signedOrUnsigned",
element: <UserEditTimeReportPage />,
},
{
path: "/viewStatistics/:projectName",
element: <UserViewStatistics />,
},
{
path: "/changeRole/:projectName/:username",
element: <PMChangeRole />,