Browse Source
Fix route paths.
The default route / has to come last
shutdown-taker-if-no-maker-present
itchymax
3 years ago
No known key found for this signature in database
GPG Key ID: E5F8E74C672BC666
1 changed files with
3 additions and
3 deletions
-
taker-frontend/src/App.tsx
|
|
@ -120,6 +120,9 @@ export const App = () => { |
|
|
|
<Nav walletInfo={walletInfo} /> |
|
|
|
<Box textAlign="center" padding={3}> |
|
|
|
<Switch> |
|
|
|
<Route path="/wallet"> |
|
|
|
<Wallet walletInfo={walletInfo} /> |
|
|
|
</Route> |
|
|
|
<Route path="/"> |
|
|
|
<VStack divider={<StackDivider borderColor="gray.500" />} spacing={4}> |
|
|
|
<Trade |
|
|
@ -158,9 +161,6 @@ export const App = () => { |
|
|
|
/> |
|
|
|
</VStack> |
|
|
|
</Route> |
|
|
|
<Route path="/wallet"> |
|
|
|
<Wallet walletInfo={walletInfo} /> |
|
|
|
</Route> |
|
|
|
</Switch> |
|
|
|
</Box> |
|
|
|
</> |
|
|
|