aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib/account-link.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-07-04 06:39:25 +0800
committerDan Finlay <dan@danfinlay.com>2017-07-04 06:39:25 +0800
commit5eb3d5d485b17b98b19443d8def2f03dec9b38ef (patch)
tree1b814f7706a9eb559824624b87937631ac3ca505 /ui/lib/account-link.js
parentd0d01552da8d0a6f58fb7c5be16947175ec90267 (diff)
downloadtangerine-wallet-browser-5eb3d5d485b17b98b19443d8def2f03dec9b38ef.tar.gz
tangerine-wallet-browser-5eb3d5d485b17b98b19443d8def2f03dec9b38ef.tar.zst
tangerine-wallet-browser-5eb3d5d485b17b98b19443d8def2f03dec9b38ef.zip
Make folder for responsive UI
Diffstat (limited to 'ui/lib/account-link.js')
-rw-r--r--ui/lib/account-link.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js
deleted file mode 100644
index d061d0ad1..000000000
--- a/ui/lib/account-link.js
+++ /dev/null
@@ -1,26 +0,0 @@
-module.exports = function (address, network) {
- const net = parseInt(network)
- let link
- switch (net) {
- case 1: // main net
- link = `http://etherscan.io/address/${address}`
- break
- case 2: // morden test net
- link = `http://morden.etherscan.io/address/${address}`
- break
- case 3: // ropsten test net
- link = `http://ropsten.etherscan.io/address/${address}`
- break
- case 4: // rinkeby test net
- link = `http://rinkeby.etherscan.io/address/${address}`
- break
- case 42: // kovan test net
- link = `http://kovan.etherscan.io/address/${address}`
- break
- default:
- link = ''
- break
- }
-
- return link
-}