diff --git a/src/app/screens/ConfirmPayment/index.tsx b/src/app/screens/ConfirmPayment/index.tsx index 7481fd4dc7..2dc8a3e5f7 100644 --- a/src/app/screens/ConfirmPayment/index.tsx +++ b/src/app/screens/ConfirmPayment/index.tsx @@ -46,7 +46,13 @@ function ConfirmPayment() { const [fiatAmount, setFiatAmount] = useState(""); const [fiatBudgetAmount, setFiatBudgetAmount] = useState(""); - const formattedInvoiceSats = getFormattedSats(invoice.satoshis || 0); + const formattedInvoiceSats = getFormattedSats( + invoice.satoshis + ? invoice.satoshis + : invoice.millisatoshis + ? Math.floor(parseInt(invoice.millisatoshis) / 1000) + : 0 + ); useEffect(() => { (async () => { @@ -150,7 +156,15 @@ function ConfirmPayment() {