File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
frontends/web/src/routes/account/add Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11
11
- Ethereum bugfix: show all internal transactions that share the same transaction ID
12
12
- Allow up to 6 unused BTC/LTC accounts (previously 5)
13
13
- Add support for New Zealand Dollar (NZD)
14
+ - Fix empty suggested name for BTC account when only BTC is supported by the BitBox.
14
15
15
16
## v4.48.4
16
17
- macOS: fix potential USB communication issue with BitBox02 bootloaders <v1.1.2 and firmwares <v9.23.1
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export const AddAccount = ({ accounts }: TAddAccountGuide) => {
68
68
setStep ( onlyOneCoinIsSupported ? 'choose-name' : 'select-coin' ) ;
69
69
setSupportedCoins ( coins ) ;
70
70
if ( onlyOneCoinIsSupported ) {
71
- setAccountCode ( coins [ 0 ] . suggestedAccountName ) ;
71
+ setAccountName ( coins [ 0 ] . suggestedAccountName ) ;
72
72
}
73
73
inputRef . current ?. focus ( ) ;
74
74
} catch ( err ) {
@@ -91,8 +91,12 @@ export const AddAccount = ({ accounts }: TAddAccountGuide) => {
91
91
navigate ( - 1 ) ;
92
92
break ;
93
93
case 'choose-name' :
94
- setStep ( 'select-coin' ) ;
95
- setErrorMessage ( undefined ) ;
94
+ if ( onlyOneSupportedCoin ( ) ) {
95
+ navigate ( - 1 ) ;
96
+ } else {
97
+ setStep ( 'select-coin' ) ;
98
+ setErrorMessage ( undefined ) ;
99
+ }
96
100
break ;
97
101
case 'success' :
98
102
setStep ( 'choose-name' ) ;
You can’t perform that action at this time.
0 commit comments