chore: nostr-tools zap api breaking change. (#492)

This commit is contained in:
fiatjaf_ 2025-08-24 22:12:14 -03:00 committed by GitHub
parent 6b88da3f03
commit 267065ef29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21 additions and 20 deletions

View file

@ -51,7 +51,7 @@ export default function ZapButton({ event }: { event: Event }) {
event.pubkey,
defaultZapSats,
defaultZapComment,
event.id
event
)
// user canceled
if (!zapResult) {
@ -159,7 +159,7 @@ export default function ZapButton({ event }: { event: Event }) {
setZapping(open)
}}
pubkey={event.pubkey}
eventId={event.id}
event={event}
/>
</>
)