chore: nostr-tools zap api breaking change. (#492)
This commit is contained in:
parent
6b88da3f03
commit
267065ef29
5 changed files with 21 additions and 20 deletions
|
|
@ -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}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue