diff --git a/src/routes/Routes.jsx b/src/routes/Routes.jsx index d5eafad..4c4cc18 100644 --- a/src/routes/Routes.jsx +++ b/src/routes/Routes.jsx @@ -22,62 +22,65 @@ import ActivitiesPage from "../pages/ActivitiesPage.jsx"; const Routes = () => { const context = useAuthContext(); - const router = createBrowserRouter([ - { - path: "/", - element: , - children: [ - { - path: "/", - element: , - }, - { - path: "/register", - element: , - }, - { - path: "/login", - element: , - }, - { - path: "/table", - element: , - }, - { - path: "/activities", - element: , - }, - { - path: "/titles/:id", - element: , - }, - { - path: "/activities/:id", - element: , - }, - { - path: "/create-activity", - element: , - }, - { - path: "/create-title", - element: , - }, - { - path: "/history", - element: , - }, - { - path: "/error", - element: , - }, - { - path: "*", - element: , - }, - ], - }, - ]); + const router = createBrowserRouter( + [ + { + path: "/", + element: , + children: [ + { + path: "/", + element: , + }, + { + path: "/register", + element: , + }, + { + path: "/login", + element: , + }, + { + path: "/table", + element: , + }, + { + path: "/activities", + element: , + }, + { + path: "/titles/:id", + element: , + }, + { + path: "/activities/:id", + element: , + }, + { + path: "/create-activity", + element: , + }, + { + path: "/create-title", + element: , + }, + { + path: "/history", + element: , + }, + { + path: "/error", + element: , + }, + { + path: "*", + element: , + }, + ], + }, + ], + { basename: "/timetrekah-frontend/" } + ); return (