feat: start affiliation system
This commit is contained in:
@@ -11,6 +11,7 @@ import {ToastContainer} from "react-toastify";
|
||||
import './App.css'
|
||||
import 'react-toastify/dist/ReactToastify.css';
|
||||
import {ClubRoot, getClubChildren} from "./pages/club/ClubRoot.jsx";
|
||||
import {DemandeAff, DemandeAffOk} from "./pages/DemandeAff.jsx";
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
@@ -31,6 +32,19 @@ const router = createBrowserRouter([
|
||||
path: 'club',
|
||||
element: <ClubRoot/>,
|
||||
children: getClubChildren()
|
||||
},
|
||||
{
|
||||
path: 'affiliation',
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
element: <DemandeAff/>
|
||||
},
|
||||
{
|
||||
path: 'ok',
|
||||
element: <DemandeAffOk/>
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user