correction eventDetail

This commit is contained in:
Antoine Ordonneau
2025-12-27 17:51:12 +01:00
parent e43ff5c269
commit 2df24024d7
4 changed files with 110 additions and 3 deletions
+6 -1
View File
@@ -10,6 +10,7 @@ import AdminPage from "./pages/Admin/AdminPage.jsx";
import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.jsx";
import VolunteerProfilePage from "./pages/VolunteerProfile/VolunteerProfilePage.jsx";
import PageNotFound from "./pages/PageNotFound/PageNotFound.jsx";
import eventDetail from "./pages/eventDetail/eventDetail.jsx";
const router = createBrowserRouter([
{
@@ -59,7 +60,11 @@ const router = createBrowserRouter([
{
path: "/profile/:id",
Component: VolunteerProfilePage,
}
},
{
path: "/eventDetail",
Component: eventDetail,
},
]
}
])