diff options
author | Dan <danjm.com@gmail.com> | 2017-10-31 02:41:05 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2017-11-07 03:33:05 +0800 |
commit | b16946723f94b855ab70469dca5899ad80f129b3 (patch) | |
tree | a5757cb1c0803abc3e8b7a90992a01dc576a5a06 /ui/app/components | |
parent | c420249fb9115f7dc871acfd8c5cf832ebf5e890 (diff) | |
download | tangerine-wallet-browser-b16946723f94b855ab70469dca5899ad80f129b3.tar.gz tangerine-wallet-browser-b16946723f94b855ab70469dca5899ad80f129b3.tar.zst tangerine-wallet-browser-b16946723f94b855ab70469dca5899ad80f129b3.zip |
Insufficient balance warning in gas customizer works for send token
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/customize-gas-modal/index.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js index 101a19d9f..5bd6c54cb 100644 --- a/ui/app/components/customize-gas-modal/index.js +++ b/ui/app/components/customize-gas-modal/index.js @@ -107,19 +107,17 @@ CustomizeGasModal.prototype.validate = function ({ gasTotal, gasLimit }) { const { amount, balance, - primaryCurrency, selectedToken, amountConversionRate, conversionRate, } = this.props let error = null - + const balanceIsSufficient = isBalanceSufficient({ amount, gasTotal, balance, - primaryCurrency, selectedToken, amountConversionRate, conversionRate, |