fix: keep previous value when closing the configuration popup without
saving on locales screen refactor: renamed enableCoin function to configureCoin fix: keep previous value when closing the configuration popup without saving on wallets screen refactor: renamed enableThirdPartyService function to configureThirdPartyService
This commit is contained in:
parent
2a1aaaaf7e
commit
e09c972547
5 changed files with 44 additions and 21 deletions
|
|
@ -16,7 +16,7 @@ const WalletSchema = Yup.object().shape({
|
|||
const getElements = (
|
||||
cryptoCurrencies,
|
||||
accounts,
|
||||
enableThirdPartyService,
|
||||
configureThirdPartyService,
|
||||
wizard = false
|
||||
) => {
|
||||
const widthAdjust = wizard ? 11 : 0
|
||||
|
|
@ -38,7 +38,8 @@ const getElements = (
|
|||
filterCoins(it)(filterOptions(option))
|
||||
)
|
||||
|
||||
const onChange = (prev, curr) => enableThirdPartyService(curr)
|
||||
const onChange = (prev, curr, cancel) =>
|
||||
configureThirdPartyService(curr, cancel)
|
||||
|
||||
return [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue