Skip to content

Commit

Permalink
fix: initial wizard null safety
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelTaranto committed Mar 28, 2024
1 parent 7339bd6 commit 694de6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new-lamassu-admin/src/pages/Wallet/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => {
const widthAdjust = wizard ? 11 : 0
const viewCryptoCurrency = it => {
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))
)(cryptoCurrencies)
return currencyDisplay
Expand Down

0 comments on commit 694de6e

Please sign in to comment.