Skip to content

Commit

Permalink
fix: missing names regression in staking modal (#8593)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotoniut-ledger authored Dec 4, 2024
1 parent 7ed35a4 commit 4f80505
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-worms-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

fix missing names regression in staking modal
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export const ProviderItem = ({ provider, stakeOnClick }: Props) => {
}
}, [provider, stakeOnClick, manifest]);

const displayName = i18n.exists(`stake.ethereum.provider.${provider.id}.title`)
? t(`stake.ethereum.provider.${provider.id}.title`)
const displayName = i18n.exists(`ethereum.stake.provider.${provider.id}.title`)
? t(`ethereum.stake.provider.${provider.id}.title`)
: provider.name;

return (
Expand Down

0 comments on commit 4f80505

Please sign in to comment.