clean - appease the linting machine

feature/default_network_editable
kumavis 9 years ago
parent d7d440b2c2
commit 770528d538
  1. 1
      app/scripts/lib/notifications.js
  2. 5
      ui/app/components/pending-msg.js
  3. 19
      ui/app/components/pending-tx.js

@ -4,7 +4,6 @@ const unmountComponentAtNode = require('react-dom').unmountComponentAtNode
const findDOMNode = require('react-dom').findDOMNode
const render = require('react-dom').render
const h = require('react-hyperscript')
const uiUtils = require('../../../ui/app/util')
const PendingTxDetails = require('../../../ui/app/components/pending-tx-details')
const PendingMsgDetails = require('../../../ui/app/components/pending-msg-details')
const MetaMaskUiCss = require('../../../ui/css')

@ -14,11 +14,6 @@ PendingMsg.prototype.render = function () {
var state = this.props
var msgData = state.txData
var msgParams = msgData.msgParams || {}
var address = msgParams.from || state.selectedAddress
var identity = state.identities[address] || { address: address }
var account = state.accounts[address] || { address: address }
return (
h('div', {

@ -15,11 +15,6 @@ PendingTx.prototype.render = function () {
var state = this.props
var txData = state.txData
var txParams = txData.txParams || {}
var address = txParams.from || state.selectedAddress
var identity = state.identities[address] || { address: address }
var account = state.accounts[address] || { address: address }
return (
h('div', {
@ -38,17 +33,6 @@ PendingTx.prototype.render = function () {
h(PendingTxDetails, state),
// send + cancel
actionButtons(state),
])
)
}
function actionButtons(state){
return (
h('.flex-row.flex-space-around', [
h('button', {
onClick: state.cancelTransaction,
@ -56,7 +40,10 @@ function actionButtons(state){
h('button', {
onClick: state.sendTransaction,
}, 'Send'),
]),
])
)
}
Loading…
Cancel
Save