message: fix check balance before create offer
diff: @@ -38,7 +38,7 @@ const minAmount = {
  user: { ethData, btcData, bchData, tokensData, eosData, telosData, nimData, usdtData, ltcData },
  }) => ({
  currencies: currencies.items,
  - items: [ ethData, btcData, eosData, telosData, bchData, ltcData, usdtData /* nimData */ ],
  + items: [ ethData, btcData, eosData, telosData, bchData, ltcData, usdtData, ...Object.keys(tokensData).map(k => (tokensData[k])) /* nimData */ ],
  })
  )
  @cssModules(styles, { allowMultiple: true })
  @@ -75,15 +75,14 @@ export default class AddOffer extends Component {
  const currency = items
  .filter(item => item.currency === sellCurrency.toUpperCase())[0]
  - const balance = currency.balance
  - const unconfirmedBalance = currency.unconfirmedBalance;
  + const { balance, unconfirmedBalance } = currency
  const finalBalance = unconfirmedBalance !== undefined && unconfirmedBalance < 0
  ? Number(balance) + Number(unconfirmedBalance)
  : balance
  const ethBalance = await actions.eth.getBalance()
  this.setState({
  - finalBalance,
  + balance: finalBalance,
  ethBalance,
  })
  }
  