aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/App.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/App.tsx')
-rw-r--r--src/client/App.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/App.tsx b/src/client/App.tsx
index 5e749d2..4c5b08a 100644
--- a/src/client/App.tsx
+++ b/src/client/App.tsx
@@ -1,6 +1,6 @@
import { Route, Switch } from "wouter";
import { ProtectedRoute } from "./components";
-import { HomePage, LoginPage, NotFoundPage } from "./pages";
+import { DeckDetailPage, HomePage, LoginPage, NotFoundPage } from "./pages";
export function App() {
return (
@@ -10,6 +10,11 @@ export function App() {
<HomePage />
</ProtectedRoute>
</Route>
+ <Route path="/decks/:deckId">
+ <ProtectedRoute>
+ <DeckDetailPage />
+ </ProtectedRoute>
+ </Route>
<Route path="/login" component={LoginPage} />
<Route component={NotFoundPage} />
</Switch>