Add teamList in store

This commit is contained in:
pikiou
2022-01-20 01:09:32 +01:00
parent 1011a293d0
commit d5eeb44d2f
10 changed files with 208 additions and 11 deletions

View File

@@ -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,