fix on-chain amount not showing

This commit is contained in:
Paul Miller
2024-01-25 13:11:14 +00:00
committed by benthecarman
parent 8ff11a2380
commit 0324b49599

View File

@@ -435,6 +435,7 @@ export function Send() {
processLnurl(source as ParsedParams & { lnurl: string });
} else {
setAmountSats(source.amount_sats || 0n);
if (source.amount_sats) setIsAmtEditable(false);
setSource("onchain");
}
// Return the source just to trigger `decodedDestination` as not undefined