diff --git a/dapp/src/router/index.tsx b/dapp/src/router/index.tsx index 5d280ad22..d88e314ae 100644 --- a/dapp/src/router/index.tsx +++ b/dapp/src/router/index.tsx @@ -1,16 +1,21 @@ import React from "react" import { createBrowserRouter } from "react-router-dom" -import OverviewPage from "#/pages/OverviewPage" +import LandingPage from "#/pages/LandingPage" import ActivityPage from "#/pages/ActivityPage" import { routerPath } from "./path" export const router = createBrowserRouter([ { path: routerPath.home, - element: , + element: , + index: true, }, { path: `${routerPath.activity}/:activityId`, element: , }, + // { + // path: `${routerPath.activity}/:activityId`, + // element: , + // }, ])