File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
source/renderer/app/components/settings/categories Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 22
33## vNext
44
5+ ### Fixes
6+
7+ - Fixed a blank screen issue ([ PR 3289] ( https://github.com/input-output-hk/daedalus/pull/3289 ) )
8+
59### Chores
610
711- Update ` cardano-node ` to 10.2.1 and ` cardano-wallet ` to v2025-03-31 ([ PR 3288] ( https://github.com/input-output-hk/daedalus/pull/3288 ) )
Original file line number Diff line number Diff line change @@ -70,10 +70,18 @@ class WalletSettings extends Component<Props> {
7070 onToggleCurrencyIsActive,
7171 onOpenExternalLink,
7272 } = this . props ;
73- const currencyOptions = map ( currencyList , ( { code, name } ) => ( {
74- label : `${ code . toUpperCase ( ) } - ${ name } ` ,
75- value : code ,
76- } ) ) ;
73+
74+ const currencyOptions = [ ] ;
75+ map ( currencyList , ( { code, name } ) => {
76+ // Prevent empty currency data from being displayed
77+ if ( ! code || ! name ) return ;
78+ const currencyData = {
79+ label : `${ code . toUpperCase ( ) } - ${ name } ` ,
80+ value : code ,
81+ } ;
82+ currencyOptions . push ( currencyData ) ;
83+ } ) ;
84+
7785 return (
7886 < div className = { styles . component } >
7987 < div className = { styles . label } >
You can’t perform that action at this time.
0 commit comments