Fix some broken refs

feature/default_network_editable
Dan Finlay 8 years ago
parent 6b100163e9
commit 55e8a717e6
  1. 4
      ui/app/components/pending-tx.js

@ -72,7 +72,7 @@ PendingTx.prototype.render = function () {
const valid = form.checkValidity() const valid = form.checkValidity()
this.setState({ valid }) this.setState({ valid })
if (valid && this.refs.details.verifyGasParams()) { if (valid && this.verifyGasParams()) {
props.sendTransaction(txData, event) props.sendTransaction(txData, event)
} else { } else {
this.props.dispatch(actions.displayWarning('Invalid Gas Parameters')) this.props.dispatch(actions.displayWarning('Invalid Gas Parameters'))
@ -287,7 +287,7 @@ PendingTx.prototype.render = function () {
h('button', { h('button', {
onClick: () => { onClick: () => {
this.refs.details.resetGasFields() this.resetGasFields()
}, },
}, 'Reset'), }, 'Reset'),

Loading…
Cancel
Save