Browse Source

Merge #507

507: Fix route paths. r=itchymax a=itchymax

The default route `/` has to come last

Co-authored-by: itchymax <itchymax@itchysats.network>
shutdown-taker-if-no-maker-present
bors[bot] 3 years ago
committed by GitHub
parent
commit
b5013ebf27
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      taker-frontend/src/App.tsx

6
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>
</>

Loading…
Cancel
Save