Skip to content

Commit 278dca0

Browse files
committed
Make first round as a home page
1 parent 69319fd commit 278dca0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

artifacts/game-client/src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
2-
import { Route, Router, Switch } from "wouter";
2+
import { Route, Router, Switch, Redirect } from "wouter";
33
import { Toaster } from "@/components/ui/toaster";
44
import { TooltipProvider } from "@/components/ui/tooltip";
5-
import { HostPage } from "@/pages/HostPage";
65
import { ViewerPage } from "@/pages/ViewerPage";
76
import { GamePage } from "@/pages/GamePage";
87
import { SpectatorPage } from "@/pages/SpectatorPage";
@@ -51,7 +50,7 @@ function App() {
5150
<Route component={Adepts3NotFound} />
5251
</Switch>
5352
</Route>
54-
<Route path="/" component={HostPage} />
53+
<Route path="/"><Redirect to="/adepts-game/" /></Route>
5554
</Switch>
5655
<GamePhaseArrows />
5756
</>

0 commit comments

Comments
 (0)