aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-08 23:22:38 +0800
committerDan <danjm.com@gmail.com>2018-06-08 23:22:38 +0800
commit049071a743581d142b0426d25613d1318d41093f (patch)
treefd0c77a0b58095a1c4f684847fd396990693cb6a /ui
parentc0d2dab28b4083ee3ef65b6b561e28c811c6773d (diff)
downloadtangerine-wallet-browser-049071a743581d142b0426d25613d1318d41093f.tar
tangerine-wallet-browser-049071a743581d142b0426d25613d1318d41093f.tar.gz
tangerine-wallet-browser-049071a743581d142b0426d25613d1318d41093f.tar.bz2
tangerine-wallet-browser-049071a743581d142b0426d25613d1318d41093f.tar.lz
tangerine-wallet-browser-049071a743581d142b0426d25613d1318d41093f.tar.xz
tangerine-wallet-browser-049071a743581d142b0426d25613d1318d41093f.tar.zst
tangerine-wallet-browser-049071a743581d142b0426d25613d1318d41093f.zip
Access correct property from state in confirm screen components gatherTxMeta()
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx/confirm-send-ether.js2
-rw-r--r--ui/app/components/pending-tx/confirm-send-token.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx/confirm-send-ether.js b/ui/app/components/pending-tx/confirm-send-ether.js
index 97d0318ea..bbf5683f0 100644
--- a/ui/app/components/pending-tx/confirm-send-ether.js
+++ b/ui/app/components/pending-tx/confirm-send-ether.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: {
diff --git a/ui/app/components/pending-tx/confirm-send-token.js b/ui/app/components/pending-tx/confirm-send-token.js
index 1802d3143..ee066b8f4 100644
--- a/ui/app/components/pending-tx/confirm-send-token.js
+++ b/ui/app/components/pending-tx/confirm-send-token.js
@@ -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: {