fix: bookmarks e tag
This commit is contained in:
parent
46d48a6d52
commit
c0f48a73bb
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ export function BookmarksProvider({ children }: { children: React.ReactNode }) {
|
|||
if (currentTags.some((tag) => tag[0] === 'e' && tag[1] === event.id)) return
|
||||
|
||||
const newBookmarkDraftEvent = createBookmarkDraftEvent(
|
||||
[...currentTags, ['e', event.id, client.getEventHint(event.id), event.pubkey]],
|
||||
[...currentTags, ['e', event.id, client.getEventHint(event.id), '', event.pubkey]],
|
||||
bookmarkListEvent?.content
|
||||
)
|
||||
const newBookmarkEvent = await publish(newBookmarkDraftEvent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue