aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-04-05 13:43:55 +0800
committerkumavis <aaron@kumavis.me>2017-04-05 13:43:55 +0800
commit8b146663483849cb76219bbf610c9ff6c5add68d (patch)
tree49e219034d146f736e00cc6b4af5d188046a3122 /ui
parent9b9570fd2be5a7bdaf37a663628147976d8c94b4 (diff)
downloadtangerine-wallet-browser-8b146663483849cb76219bbf610c9ff6c5add68d.tar
tangerine-wallet-browser-8b146663483849cb76219bbf610c9ff6c5add68d.tar.gz
tangerine-wallet-browser-8b146663483849cb76219bbf610c9ff6c5add68d.tar.bz2
tangerine-wallet-browser-8b146663483849cb76219bbf610c9ff6c5add68d.tar.lz
tangerine-wallet-browser-8b146663483849cb76219bbf610c9ff6c5add68d.tar.xz
tangerine-wallet-browser-8b146663483849cb76219bbf610c9ff6c5add68d.tar.zst
tangerine-wallet-browser-8b146663483849cb76219bbf610c9ff6c5add68d.zip
clean - remove unused extension ref
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/transaction-list-item.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js
index 0052d9c70..9fef52355 100644
--- a/ui/app/components/transaction-list-item.js
+++ b/ui/app/components/transaction-list-item.js
@@ -7,7 +7,6 @@ const addressSummary = require('../util').addressSummary
const explorerLink = require('../../lib/explorer-link')
const CopyButton = require('./copyButton')
const vreme = new (require('vreme'))
-const extension = require('extensionizer')
const Tooltip = require('./tooltip')
const TransactionIcon = require('./transaction-list-item-icon')
@@ -50,7 +49,7 @@ TransactionListItem.prototype.render = function () {
event.stopPropagation()
if (!transaction.hash || !isLinkable) return
var url = explorerLink(transaction.hash, parseInt(network))
- extension.tabs.create({ url })
+ global.platform.openWindow({ url })
},
style: {
padding: '20px 0',
@@ -63,7 +62,7 @@ TransactionListItem.prototype.render = function () {
event.stopPropagation()
if (!isTx || isPending) return
var url = `https://metamask.github.io/eth-tx-viz/?tx=${transaction.hash}`
- extension.tabs.create({ url })
+ global.platform.openWindow({ url })
},
}, [
h(TransactionIcon, { txParams, transaction, isTx, isMsg }),