aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-10-17 02:31:05 +0800
committerGitHub <noreply@github.com>2017-10-17 02:31:05 +0800
commitd9f5e6beb20c5465b1113c8c03c231eabe3d0427 (patch)
treea0457a758dd6d13eaf85f63310d157b5fde14c45 /ui/app/components
parent42e3261c9868c33123d7efadfe4d137fa8d83629 (diff)
parent06094c914b324e3debf33af374bbaa280d6dc6ef (diff)
downloadtangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar
tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.gz
tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.bz2
tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.lz
tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.xz
tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.tar.zst
tangerine-wallet-browser-d9f5e6beb20c5465b1113c8c03c231eabe3d0427.zip
Merge pull request #2370 from MetaMask/MoveOutEtherscanLinkGeneration
Move etherscan link logic into module
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/account-dropdowns.js2
-rw-r--r--ui/app/components/shift-list-item.js2
-rw-r--r--ui/app/components/transaction-list-item.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/account-dropdowns.js b/ui/app/components/account-dropdowns.js
index b087a40d4..1b46e532a 100644
--- a/ui/app/components/account-dropdowns.js
+++ b/ui/app/components/account-dropdowns.js
@@ -2,7 +2,7 @@ const Component = require('react').Component
const PropTypes = require('react').PropTypes
const h = require('react-hyperscript')
const actions = require('../actions')
-const genAccountLink = require('../../lib/account-link.js')
+const genAccountLink = require('etherscan-link').createAccountLink
const connect = require('react-redux').connect
const Dropdown = require('./dropdown').Dropdown
const DropdownMenuItem = require('./dropdown').DropdownMenuItem
diff --git a/ui/app/components/shift-list-item.js b/ui/app/components/shift-list-item.js
index 079f05e31..b555dee84 100644
--- a/ui/app/components/shift-list-item.js
+++ b/ui/app/components/shift-list-item.js
@@ -3,7 +3,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('react-redux').connect
const vreme = new (require('vreme'))()
-const explorerLink = require('../../lib/explorer-link')
+const explorerLink = require('etherscan-link').createExplorerLink
const actions = require('../actions')
const addressSummary = require('../util').addressSummary
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js
index a9961f47c..891d5e227 100644
--- a/ui/app/components/transaction-list-item.js
+++ b/ui/app/components/transaction-list-item.js
@@ -4,7 +4,7 @@ const inherits = require('util').inherits
const EthBalance = require('./eth-balance')
const addressSummary = require('../util').addressSummary
-const explorerLink = require('../../lib/explorer-link')
+const explorerLink = require('etherscan-link').createExplorerLink
const CopyButton = require('./copyButton')
const vreme = new (require('vreme'))()
const Tooltip = require('./tooltip')