mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-11 13:56:29 +02:00
Add teamList in store
This commit is contained in:
@@ -3,6 +3,7 @@ import { RouteConfig } from "react-router-config"
|
||||
import App from "../app"
|
||||
import AsyncHome, { loadData as loadHomeData } from "../pages/Home"
|
||||
import AsyncPreRegisterPage, { loadData as loadPreRegisterPage } from "../pages/PreRegister"
|
||||
import AsyncTeams, { loadData as loadTeamsData } from "../pages/Teams"
|
||||
import AsyncWish, { loadData as loadWishData } from "../pages/Wish"
|
||||
import AsyncVolunteerPage, { loadData as loadVolunteerPageData } from "../pages/VolunteerPage"
|
||||
import Login from "../pages/Login"
|
||||
@@ -37,6 +38,11 @@ export default [
|
||||
path: "/forgot",
|
||||
component: Forgot,
|
||||
},
|
||||
{
|
||||
path: "/teams",
|
||||
component: AsyncTeams,
|
||||
loadData: loadTeamsData,
|
||||
},
|
||||
{
|
||||
path: "/wish",
|
||||
component: AsyncWish,
|
||||
|
Reference in New Issue
Block a user