diff --git a/src/Element/LNURLTip.tsx b/src/Element/LNURLTip.tsx index d8002262..e02cf7d5 100644 --- a/src/Element/LNURLTip.tsx +++ b/src/Element/LNURLTip.tsx @@ -38,7 +38,8 @@ export interface LNURLTipProps { svc?: string, show?: boolean, invoice?: string, // shortcut to invoice qr tab - title?: string + title?: string, + notice?: string } export default function LNURLTip(props: LNURLTipProps) { @@ -208,6 +209,7 @@ export default function LNURLTip(props: LNURLTipProps) { return ( <>
+ {props.notice && {props.notice}}
{pr && ( diff --git a/src/Element/Nip5Service.tsx b/src/Element/Nip5Service.tsx index bf0185f2..82765c92 100644 --- a/src/Element/Nip5Service.tsx +++ b/src/Element/Nip5Service.tsx @@ -177,7 +177,12 @@ export default function Nip5Service(props: Nip05ServiceProps) { {availabilityResponse?.available === false && !registerStatus &&
Not available: {mapError(availabilityResponse.why!, availabilityResponse.reasonTag || null)}
} - setShowInvoice(false)} title={`Buying ${handle}@${domain}`} /> + setShowInvoice(false)} + title={`Buying ${handle}@${domain}`} + notice="DO NOT CLOSE THIS POPUP OR YOUR ORDER WILL GET STUCK"/> {registerStatus?.paid &&

Order Paid!

Your new NIP-05 handle is: {handle}@{domain}