Fix some broken refs
This commit is contained in:
parent
6b100163e9
commit
55e8a717e6
|
@ -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…
Reference in New Issue