Defined new route for PersonalHighscorePage.

This is a subpage for showing additional information about a winner from
highscore.
This commit is contained in:
2020-10-08 23:39:38 +02:00
committed by KevinMidboe
parent 53257a16ff
commit 05b07ca465

View File

@@ -12,6 +12,7 @@ import WinnerPage from "@/components/WinnerPage";
import LotteryPage from "@/components/LotteryPage";
import HistoryPage from "@/components/HistoryPage";
import HighscorePage from "@/components/HighscorePage";
import PersonalHighscorePage from "@/components/PersonalHighscorePage";
import RequestWine from "@/components/RequestWine";
import AllRequestedWines from "@/components/AllRequestedWines";
@@ -57,6 +58,10 @@ const routes = [
path: "/history",
component: HistoryPage
},
{
path: "/highscore/:name",
component: PersonalHighscorePage
},
{
path: "/highscore",
component: HighscorePage