fix linking bug (#583)
This commit is contained in:
parent
9810e62054
commit
008be5dcda
@ -26,7 +26,7 @@ const tabOrder = [
|
||||
regex: /\/send/
|
||||
},
|
||||
{
|
||||
path: 'add-liquidity',
|
||||
path: '/add-liquidity',
|
||||
textKey: 'pool',
|
||||
regex: /\/add-liquidity|\/remove-liquidity|\/create-exchange.*/
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ export default function App() {
|
||||
exact
|
||||
strict
|
||||
path="/send/:tokenAddress?"
|
||||
render={({ match, location }) => {
|
||||
render={({ match }) => {
|
||||
if (isAddress(match.params.tokenAddress)) {
|
||||
return <Send initialCurrency={isAddress(match.params.tokenAddress)} params={params} />
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user