aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/components/pending-tx.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index f550c1d35..75004b208 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -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'),