feat: all coins on commissions

This commit is contained in:
Taranto 2020-11-05 17:06:16 +00:00 committed by Josh Harvey
parent 913d281798
commit 9595afb63a
12 changed files with 258 additions and 152 deletions

View file

@ -13,12 +13,7 @@ const WalletSchema = Yup.object().shape({
zeroConf: Yup.string().required()
})
const getElements = (
cryptoCurrencies,
accounts,
configureThirdPartyService,
wizard = false
) => {
const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => {
const widthAdjust = wizard ? 11 : 0
const viewCryptoCurrency = it =>
R.compose(
@ -38,9 +33,6 @@ const getElements = (
filterCoins(it)(filterOptions(option))
)
const onChange = (prev, curr, cancel) =>
configureThirdPartyService(curr, cancel)
return [
{
name: 'id',