Skip to content

Commit

Permalink
Update ui/app/pages/swaps/build-quote/build-quote.js
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Stacey <[email protected]>
  • Loading branch information
danjm and Gudahtt authored Nov 17, 2020
1 parent a0565e1 commit 9164df2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ui/app/pages/swaps/build-quote/build-quote.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,11 +374,9 @@ export default function BuildQuote({
<a
className="build-quote__token-etherscan-link"
key="build-quote-etherscan-link"
onClick={() => {
const etherscanUrl = `https://etherscan.io/token/${selectedToToken.address}`

global.platform.openTab({ url: etherscanUrl })
}}
href={`https://etherscan.io/token/${selectedToToken.address}`}
target="_blank"
rel="noopener noreferrer"
>
{t('etherscan')}
</a>,
Expand Down

0 comments on commit 9164df2

Please sign in to comment.