diff --git a/components/ZapButton.tsx b/components/ZapButton.tsx index 432644a..a26a9b1 100644 --- a/components/ZapButton.tsx +++ b/components/ZapButton.tsx @@ -18,6 +18,7 @@ import { Input } from "./ui/input"; import { useNostr, useNostrEvents, useProfile } from "nostr-react"; import { useEffect, useState, useRef } from "react"; import QRCode from "react-qr-code"; +import Link from "next/link"; export default function ZapButton({ event }: { event: any }) { @@ -300,7 +301,9 @@ export default function ZapButton({ event }: { event: any }) { ) : (
- + + +
)} @@ -310,15 +313,16 @@ export default function ZapButton({ event }: { event: any }) { : "Scan this QR code with a Lightning wallet to pay the invoice"}

-
- {invoice} -
- {paymentComplete && ( + {paymentComplete ? (
Zap sent successfully!
+ ) : ( +
+ {invoice} +
)}