From 0324b49599431147a4e2293cf223f12b6ebfdf4c Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Thu, 25 Jan 2024 13:11:14 +0000 Subject: [PATCH] fix on-chain amount not showing --- src/routes/Send.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/Send.tsx b/src/routes/Send.tsx index cedac967..fca0422f 100644 --- a/src/routes/Send.tsx +++ b/src/routes/Send.tsx @@ -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