Access correct property from state in confirm screen components gatherTxMeta()

feature/default_network_editable
Dan 7 years ago
parent c0d2dab28b
commit 049071a743
  1. 2
      ui/app/components/pending-tx/confirm-send-ether.js
  2. 2
      ui/app/components/pending-tx/confirm-send-token.js

@ -647,7 +647,7 @@ ConfirmSendEther.prototype.gatherTxMeta = function () {
const state = this.state
const txData = clone(state.txData) || clone(props.txData)
const { gasPrice: sendGasPrice, gas: sendGasLimit } = props.send
const { gasPrice: sendGasPrice, gasLimit: sendGasLimit } = props.send
const {
lastGasPrice,
txParams: {

@ -651,7 +651,7 @@ ConfirmSendToken.prototype.gatherTxMeta = function () {
const state = this.state
const txData = clone(state.txData) || clone(props.txData)
const { gasPrice: sendGasPrice, gas: sendGasLimit } = props.send
const { gasPrice: sendGasPrice, gasLimit: sendGasLimit } = props.send
const {
lastGasPrice,
txParams: {

Loading…
Cancel
Save