Commit 008be5dc authored by Ian Lapham's avatar Ian Lapham Committed by Noah Zinsmeister

fix linking bug (#583)

parent 9810e620
...@@ -26,7 +26,7 @@ const tabOrder = [ ...@@ -26,7 +26,7 @@ const tabOrder = [
regex: /\/send/ regex: /\/send/
}, },
{ {
path: 'add-liquidity', path: '/add-liquidity',
textKey: 'pool', textKey: 'pool',
regex: /\/add-liquidity|\/remove-liquidity|\/create-exchange.*/ regex: /\/add-liquidity|\/remove-liquidity|\/create-exchange.*/
} }
......
...@@ -88,7 +88,7 @@ export default function App() { ...@@ -88,7 +88,7 @@ export default function App() {
exact exact
strict strict
path="/send/:tokenAddress?" path="/send/:tokenAddress?"
render={({ match, location }) => { render={({ match }) => {
if (isAddress(match.params.tokenAddress)) { if (isAddress(match.params.tokenAddress)) {
return <Send initialCurrency={isAddress(match.params.tokenAddress)} params={params} /> return <Send initialCurrency={isAddress(match.params.tokenAddress)} params={params} />
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment