aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/customize-gas-modal
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-31 02:41:05 +0800
committerDan <danjm.com@gmail.com>2017-11-07 03:33:05 +0800
commitb16946723f94b855ab70469dca5899ad80f129b3 (patch)
treea5757cb1c0803abc3e8b7a90992a01dc576a5a06 /ui/app/components/customize-gas-modal
parentc420249fb9115f7dc871acfd8c5cf832ebf5e890 (diff)
downloadtangerine-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/customize-gas-modal')
-rw-r--r--ui/app/components/customize-gas-modal/index.js4
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,