|
|
@ -101,7 +101,7 @@ export default class SendGasRow extends Component { |
|
|
|
className="gas-price-button-group--small" |
|
|
|
className="gas-price-button-group--small" |
|
|
|
showCheck={false} |
|
|
|
showCheck={false} |
|
|
|
{...gasPriceButtonGroupProps} |
|
|
|
{...gasPriceButtonGroupProps} |
|
|
|
handleGasPriceSelection={async (...args) => { |
|
|
|
handleGasPriceSelection={async (opts) => { |
|
|
|
metricsEvent({ |
|
|
|
metricsEvent({ |
|
|
|
eventOpts: { |
|
|
|
eventOpts: { |
|
|
|
category: 'Transactions', |
|
|
|
category: 'Transactions', |
|
|
@ -109,7 +109,7 @@ export default class SendGasRow extends Component { |
|
|
|
name: 'Changed Gas Button', |
|
|
|
name: 'Changed Gas Button', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}) |
|
|
|
}) |
|
|
|
await gasPriceButtonGroupProps.handleGasPriceSelection(...args) |
|
|
|
await gasPriceButtonGroupProps.handleGasPriceSelection(opts) |
|
|
|
if (maxModeOn) { |
|
|
|
if (maxModeOn) { |
|
|
|
this.setMaxAmount() |
|
|
|
this.setMaxAmount() |
|
|
|
} |
|
|
|
} |
|
|
@ -134,7 +134,7 @@ export default class SendGasRow extends Component { |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<AdvancedGasInputs |
|
|
|
<AdvancedGasInputs |
|
|
|
updateCustomGasPrice={(newGasPrice) => |
|
|
|
updateCustomGasPrice={(newGasPrice) => |
|
|
|
setGasPrice(newGasPrice, gasLimit) |
|
|
|
setGasPrice({ gasPrice: newGasPrice, gasLimit }) |
|
|
|
} |
|
|
|
} |
|
|
|
updateCustomGasLimit={(newGasLimit) => |
|
|
|
updateCustomGasLimit={(newGasLimit) => |
|
|
|
setGasLimit(newGasLimit, gasPrice) |
|
|
|
setGasLimit(newGasLimit, gasPrice) |
|
|
|