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 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
|
||||
|
||||
Reference in New Issue
Block a user