Skip to content

Commit

Permalink
[BUGFIX] : Continue button was greyed out in step 1 of Send flow if t…
Browse files Browse the repository at this point in the history
…he Account to debit is changed
  • Loading branch information
mcayuelas-ledger committed Feb 9, 2024
1 parent 47d8ef7 commit 6688443
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/polite-papayas-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Fix Continue button greyed out in step 1 of Send flow if the "Account to debit" is changed
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const RecipientField = <T extends Transaction, TS extends TransactionStatus>({
onChangeTransaction(bridge.updateTransaction(transaction, { recipient: value }));
resetInitValue && resetInitValue();
}
}, []); // eslint-disable-line react-hooks/exhaustive-deps
}, [bridge, onChangeTransaction, resetInitValue, transaction, value]);

const onChange = useCallback(
async (recipient: string, maybeExtra?: OnChangeExtra | null) => {
Expand Down

0 comments on commit 6688443

Please sign in to comment.