Fix some broken refs

This commit is contained in:
Dan Finlay 2017-03-23 14:55:59 -07:00
parent 6b100163e9
commit 55e8a717e6
1 changed files with 2 additions and 2 deletions

View File

@ -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'),