Skip to content

Commit

Permalink
fix(suite): show more appropriate device label in wallet switcher but…
Browse files Browse the repository at this point in the history
…ton when device hasn't received state yet
  • Loading branch information
mroz22 committed Jan 15, 2025
1 parent fa2d8f3 commit b2a5073
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const useWalletLabeling = () => {

const defaultAccountLabelString = useCallback(
({ device }: { device: TrezorDevice }) => {
if (!device.state) return undefined;
if (device.useEmptyPassphrase) return translationString('TR_NO_PASSPHRASE_WALLET');
if (!device.walletNumber) return undefined;

Expand Down

0 comments on commit b2a5073

Please sign in to comment.