Insufficient balance warning in gas customizer works for send token

feature/default_network_editable
Dan 7 years ago
parent c420249fb9
commit b16946723f
  1. 4
      ui/app/components/customize-gas-modal/index.js

@ -107,19 +107,17 @@ CustomizeGasModal.prototype.validate = function ({ gasTotal, gasLimit }) {
const { const {
amount, amount,
balance, balance,
primaryCurrency,
selectedToken, selectedToken,
amountConversionRate, amountConversionRate,
conversionRate, conversionRate,
} = this.props } = this.props
let error = null let error = null
const balanceIsSufficient = isBalanceSufficient({ const balanceIsSufficient = isBalanceSufficient({
amount, amount,
gasTotal, gasTotal,
balance, balance,
primaryCurrency,
selectedToken, selectedToken,
amountConversionRate, amountConversionRate,
conversionRate, conversionRate,

Loading…
Cancel
Save