fix: initial wizard null safety
This commit is contained in:
parent
7acc6054f8
commit
0e606a5d5e
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => {
|
||||||
const widthAdjust = wizard ? 11 : 0
|
const widthAdjust = wizard ? 11 : 0
|
||||||
const viewCryptoCurrency = it => {
|
const viewCryptoCurrency = it => {
|
||||||
const currencyDisplay = R.compose(
|
const currencyDisplay = R.compose(
|
||||||
it => `${R.prop(['display'])(it)} ${it.isBeta ? '(Beta)' : ''}`,
|
it => `${R.prop(['display'])(it)} ${it?.isBeta ? '(Beta)' : ''}`,
|
||||||
R.find(R.propEq('code', it))
|
R.find(R.propEq('code', it))
|
||||||
)(cryptoCurrencies)
|
)(cryptoCurrencies)
|
||||||
return currencyDisplay
|
return currencyDisplay
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue