From f5787fbc2ee261e20e7d4ca1a17c7cc7fe4ef311 Mon Sep 17 00:00:00 2001 From: al8763be Date: Sun, 17 Mar 2024 15:23:21 +0100 Subject: [PATCH] correct routes in main --- frontend/src/main.tsx | 106 ------------------------------------------ 1 file changed, 106 deletions(-) diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index ea6ede4..c63ef22 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -20,112 +20,6 @@ const router = createBrowserRouter([ path: "/pm", element: , }, - { - path: "/user", - element: , - path: "/edit-time-report", - element: , - }, - { - path: "/new-time-report", - element: , - }, - { - path: "/project", - element: , - }, - { - path: "/register", - element: , - }, - { - path: "/project-page", - element: , - }, - { - path: "/change-role", - element: , - }, - { - path: "/other-users-time-reports", - element: , - }, - { - path: "/project-members", - element: , - }, - { - path: "/PM-project-page", - element: , - }, - { - path: "/PM-time-activity", - element: , - }, - { - path: "/PM-time-role", - element: , - }, - { - path: "/PM-unsigned-reports", - element: , - }, - { - path: "/PM-view-unsigned-report", - element: , - }, - { - path: "/admin-add-project", - element: , - }, - { - path: "/admin-add-user", - element: , - }, - { - path: "/admin-change-username", - element: , - }, - { - path: "/admin-manage-projects", - element: , - }, - { - path: "/admin-manage-users", - element: , - }, - { - path: "/admin-menu", - element: , - }, - { - path: "/admin-project-add-member", - element: , - }, - { - path: "/admin-project-change-user-role", - element: , - }, - { - path: "/admin-project-manage-members", - element: , - }, - { - path: "/admin-project-page", - element: , - }, - { - path: "/admin-project-statistics", - element: , - }, - { - path: "/admin-project-view-members", - element: , - }, - { - path: "/admin-view-user", - element: , - }, ]); // Semi-hacky way to get the root element