Defined new route for PersonalHighscorePage.
This is a subpage for showing additional information about a winner from highscore.
This commit is contained in:
@@ -12,6 +12,7 @@ import WinnerPage from "@/components/WinnerPage";
|
|||||||
import LotteryPage from "@/components/LotteryPage";
|
import LotteryPage from "@/components/LotteryPage";
|
||||||
import HistoryPage from "@/components/HistoryPage";
|
import HistoryPage from "@/components/HistoryPage";
|
||||||
import HighscorePage from "@/components/HighscorePage";
|
import HighscorePage from "@/components/HighscorePage";
|
||||||
|
import PersonalHighscorePage from "@/components/PersonalHighscorePage";
|
||||||
|
|
||||||
import RequestWine from "@/components/RequestWine";
|
import RequestWine from "@/components/RequestWine";
|
||||||
import AllRequestedWines from "@/components/AllRequestedWines";
|
import AllRequestedWines from "@/components/AllRequestedWines";
|
||||||
@@ -57,6 +58,10 @@ const routes = [
|
|||||||
path: "/history",
|
path: "/history",
|
||||||
component: HistoryPage
|
component: HistoryPage
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/highscore/:name",
|
||||||
|
component: PersonalHighscorePage
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/highscore",
|
path: "/highscore",
|
||||||
component: HighscorePage
|
component: HighscorePage
|
||||||
|
|||||||
Reference in New Issue
Block a user