diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 03091a2..d844030 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -6,6 +6,7 @@ import LoginPage from "./Pages/LoginPage.tsx"; import YourProjectsPage from "./Pages/YourProjectsPage.tsx"; import UserProjectPage from "./Pages/UserPages/UserProjectPage.tsx"; import AdminMenuPage from "./Pages/AdminPages/AdminMenuPage.tsx"; +import UserEditTimeReportPage from "./Pages/UserPages/UserEditTimeReportPage.tsx"; // This is where the routes are mounted const router = createBrowserRouter([ @@ -25,6 +26,10 @@ const router = createBrowserRouter([ path: "/admin-menu", element: , }, + { + path: "/edit-time-report", + element: , + }, ]); // Semi-hacky way to get the root element