Skip to content

Commit

Permalink
Merge pull request #170 from jamesgiu/jamesgiu-patch-2
Browse files Browse the repository at this point in the history
Move route below statistics route
  • Loading branch information
jamesgiu authored Apr 1, 2022
2 parents b4d5159 + 337463f commit 837f356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ function App(): JSX.Element {
<Navbar />
<div className={"app-main-content"}>
<Switch>
<Route exact path={`${BASE_PATH()}/:instance/:authKey`} component={KeyPrompt} />
<Route exact path={`${BASE_PATH()}${QuickHitPage.HOME}`} component={Home} />
<Route exact path={`${BASE_PATH()}${QuickHitPage.LADDER}`} component={Ladder} />
<Route exact path={`${BASE_PATH()}${QuickHitPage.TOURNAMENT}`} component={Tournament} />
<Route exact path={`${BASE_PATH()}${QuickHitPage.HALL_OF_FALLEN}`} component={HallOfFallen} />
<Route exact path={`${BASE_PATH()}${QuickHitPage.RECENT_GAMES}`} component={RecentGames} />
<Route exact path={`${BASE_PATH()}${QuickHitPage.STATISTICS}`} component={PlayerStatistics} />
<Route exact path={`${BASE_PATH()}/:instance/:authKey`} component={KeyPrompt} />
<Route exact path={`${BASE_PATH()}${QuickHitPage.NOT_FOUND}`} component={NotFound} />
<Route exact path={BASE_PATH()} component={Home} />
<Redirect to={`${BASE_PATH()}${QuickHitPage.NOT_FOUND}`} />
Expand Down

0 comments on commit 837f356

Please sign in to comment.