Added path in main
This commit is contained in:
parent
6be1060cff
commit
c1aa0769bb
1 changed files with 5 additions and 0 deletions
|
@ -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: <AdminMenuPage />,
|
||||
},
|
||||
{
|
||||
path: "/edit-time-report",
|
||||
element: <UserEditTimeReportPage />,
|
||||
},
|
||||
]);
|
||||
|
||||
// Semi-hacky way to get the root element
|
||||
|
|
Loading…
Reference in a new issue