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 Apr 15, 2024
1 parent 749a3d1 commit 648e552
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 648e552

Please sign in to comment.