aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send-v2.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-13 00:42:14 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-16 11:09:05 +0800
commita9244f5e426d6572ef135e07ab75a49c00e84942 (patch)
tree7aa7e1d98711ffbb2e27eb068b086c13238f421f /ui/app/send-v2.js
parenta59972dcabc56c3d92f09ba1b88a2ded70ce8c34 (diff)
downloadtangerine-wallet-browser-a9244f5e426d6572ef135e07ab75a49c00e84942.tar
tangerine-wallet-browser-a9244f5e426d6572ef135e07ab75a49c00e84942.tar.gz
tangerine-wallet-browser-a9244f5e426d6572ef135e07ab75a49c00e84942.tar.bz2
tangerine-wallet-browser-a9244f5e426d6572ef135e07ab75a49c00e84942.tar.lz
tangerine-wallet-browser-a9244f5e426d6572ef135e07ab75a49c00e84942.tar.xz
tangerine-wallet-browser-a9244f5e426d6572ef135e07ab75a49c00e84942.tar.zst
tangerine-wallet-browser-a9244f5e426d6572ef135e07ab75a49c00e84942.zip
Customize Gas connected to state
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r--ui/app/send-v2.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js
index af7586859..314f6a666 100644
--- a/ui/app/send-v2.js
+++ b/ui/app/send-v2.js
@@ -62,12 +62,6 @@ SendTransactionScreen.prototype.componentWillMount = function () {
gas: '746a528800',
}),
])
- .then(([blockGasPrice, estimatedGas]) => {
- this.setState({
- gasPrice: blockGasPrice,
- gasLimit: estimatedGas,
- })
- })
}
SendTransactionScreen.prototype.renderHeaderIcon = function () {
@@ -112,14 +106,16 @@ SendTransactionScreen.prototype.render = function () {
showCustomizeGasModal,
selectedAccount,
primaryCurrency = 'ETH',
+ gasLimit,
+ gasPrice,
} = this.props
const {
dropdownOpen,
to,
amount,
- gasLimit,
- gasPrice,
+ // gasLimit,
+ // gasPrice,
memo,
} = this.state