diff --git a/components/ZapButton.tsx b/components/ZapButton.tsx index 342654c..432644a 100644 --- a/components/ZapButton.tsx +++ b/components/ZapButton.tsx @@ -283,10 +283,6 @@ export default function ZapButton({ event }: { event: any }) { )} - - Zaps - - {errorMessage && (
{errorMessage} @@ -295,28 +291,43 @@ export default function ZapButton({ event }: { event: any }) { {invoice ? (
-
- -
+ {paymentComplete ? ( +
+ +

+ Payment Complete! +

+
+ ) : ( +
+ +
+ )} +

- Scan this QR code with a Lightning wallet to pay the invoice + {paymentComplete + ? "Your payment has been received and confirmed!" + : "Scan this QR code with a Lightning wallet to pay the invoice"}

+
{invoice}
- {paymentComplete ? ( -
+ + {paymentComplete && ( +
- Payment Complete! + Zap sent successfully!
- ) : null} + )} +
) : ( <> -
+
-
- - );