mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-01 00:19:45 +02:00
fix stream zap button
This commit is contained in:
parent
1534c5c4bc
commit
a62297c287
@ -32,6 +32,9 @@ export default function StreamZapButton({
|
||||
isDisabled: !zapMetadata.metadata?.allowsNostr,
|
||||
};
|
||||
|
||||
// const zapEvent = goal || stream.event
|
||||
const zapEvent = stream.event;
|
||||
|
||||
return (
|
||||
<>
|
||||
{label ? (
|
||||
@ -45,7 +48,7 @@ export default function StreamZapButton({
|
||||
{zapModal.isOpen && (
|
||||
<ZapModal
|
||||
isOpen
|
||||
event={goal || stream.event}
|
||||
event={zapEvent}
|
||||
pubkey={stream.host}
|
||||
onInvoice={async (invoice) => {
|
||||
if (onZap) onZap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user