clean - remove unused extension ref

feature/default_network_editable
kumavis 8 years ago
parent 9b9570fd2b
commit 8b14666348
  1. 5
      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 }),

Loading…
Cancel
Save