Skip to content

Commit

Permalink
Merge pull request #7592 from LedgerHQ/fix/send-flow-token-account-unit
Browse files Browse the repository at this point in the history
LIVE-13362 use account to fetch proper unit in send screen
  • Loading branch information
Wozacosta authored Aug 16, 2024
2 parents 5758950 + a354886 commit 9d7dfcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nice-bags-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

fixes display of account unit during send
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const WARN_FROM_UTXO_COUNT = 50;
const StepSummary = (props: StepProps) => {
const { account, parentAccount, transaction, status, currencyName, isNFTSend } = props;
const mainAccount = account && getMainAccount(account, parentAccount);
const unit = useMaybeAccountUnit(mainAccount);
const unit = useMaybeAccountUnit(account);
const accountName = useMaybeAccountName(account);

if (!account || !mainAccount || !transaction) {
Expand Down

0 comments on commit 9d7dfcd

Please sign in to comment.