chore: indicate zap supported
This commit is contained in:
parent
afd9dc44d9
commit
6d7892ac66
@ -240,11 +240,12 @@ export default function LNURLTip(props: LNURLTipProps) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const defaultTitle = payService?.allowsNostr === true ? "⚡️ Send Zap!" : "⚡️ Send sats";
|
||||||
if (!show) return null;
|
if (!show) return null;
|
||||||
return (
|
return (
|
||||||
<Modal onClose={onClose}>
|
<Modal onClose={onClose}>
|
||||||
<div className="lnurl-tip" onClick={(e) => e.stopPropagation()}>
|
<div className="lnurl-tip" onClick={(e) => e.stopPropagation()}>
|
||||||
<h2>{props.title || "⚡️ Send sats"}</h2>
|
<h2>{props.title || defaultTitle}</h2>
|
||||||
{invoiceForm()}
|
{invoiceForm()}
|
||||||
{error ? <p className="error">{error}</p> : null}
|
{error ? <p className="error">{error}</p> : null}
|
||||||
{payInvoice()}
|
{payInvoice()}
|
||||||
|
Loading…
Reference in New Issue
Block a user