diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-06-28 06:08:29 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-06-28 06:08:29 +0800 |
commit | 40223687aeb8a5a593ab5af572e617f230f89140 (patch) | |
tree | c0e9aa485c8ce2d01b2d649e34d35ef18b50583a /ui/app/components | |
parent | 58e993ff29ec5bc19abeb34d01c71ded60251b7e (diff) | |
parent | 307e967a0c2f059e8e2c742c282ba5b43c311cb0 (diff) | |
download | tangerine-wallet-browser-40223687aeb8a5a593ab5af572e617f230f89140.tar.gz tangerine-wallet-browser-40223687aeb8a5a593ab5af572e617f230f89140.tar.zst tangerine-wallet-browser-40223687aeb8a5a593ab5af572e617f230f89140.zip |
Merge branch 'i1616-AddTokenAdding' into i784-SendTokenButton
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/token-cell.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/token-cell.js b/ui/app/components/token-cell.js index 67558ad87..48f46934a 100644 --- a/ui/app/components/token-cell.js +++ b/ui/app/components/token-cell.js @@ -2,6 +2,7 @@ const Component = require('react').Component const h = require('react-hyperscript') const inherits = require('util').inherits const Identicon = require('./identicon') +const prefixForNetwork = require('../../lib/etherscan-prefix-for-network') module.exports = TokenCell @@ -59,7 +60,8 @@ function navigateTo (url) { } function etherscanLinkFor (tokenAddress, address, network) { - return `https://etherscan.io/token/${tokenAddress}?a=${address}` + const prefix = prefixForNetwork(network) + return `https://${prefix}etherscan.io/token/${tokenAddress}?a=${address}` } function tokenFactoryFor (tokenAddress) { |