Skip to content

Commit 4f24c3a

Browse files
committed
fix(text): 🐛 text showing wrong text when adding new token
1 parent 457fbc9 commit 4f24c3a

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.changeset/curly-carpets-smile.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ledger-live-desktop": minor
3+
---
4+
5+
Fix tokenList text on Hedera and Algorand

apps/ledger-live-desktop/src/renderer/screens/account/EmptyStateAccount.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ function EmptyStateAccount({ t, account, parentAccount, openModal }: Props) {
8585
{"and"}
8686
<Text ff="Inter|SemiBold" color="neutral.c100">
8787
{account &&
88-
account.type === "Account" &&
89-
(account.currency.tokenTypes || []).join(", ")}
88+
account.type === "TokenAccount" &&
89+
(account.token.parentCurrency.tokenTypes || []).join(", ")}
9090
{"tokens"}
9191
</Text>
9292
</Trans>

0 commit comments

Comments
 (0)