mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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()
|
||||
this.setState({ valid })
|
||||
|
||||
if (valid && this.refs.details.verifyGasParams()) {
|
||||
if (valid && this.verifyGasParams()) {
|
||||
props.sendTransaction(txData, event)
|
||||
} else {
|
||||
this.props.dispatch(actions.displayWarning('Invalid Gas Parameters'))
|
||||
@ -287,7 +287,7 @@ PendingTx.prototype.render = function () {
|
||||
|
||||
h('button', {
|
||||
onClick: () => {
|
||||
this.refs.details.resetGasFields()
|
||||
this.resetGasFields()
|
||||
},
|
||||
}, 'Reset'),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user