feat: bookmarks (#279)
This commit is contained in:
parent
085adeb096
commit
7876f26d0c
13 changed files with 390 additions and 15 deletions
|
|
@ -3,6 +3,7 @@ import { useNoteStats } from '@/providers/NoteStatsProvider'
|
|||
import { useScreenSize } from '@/providers/ScreenSizeProvider'
|
||||
import { Event } from 'nostr-tools'
|
||||
import { useEffect } from 'react'
|
||||
import BookmarkButton from '../BookmarkButton'
|
||||
import LikeButton from './LikeButton'
|
||||
import ReplyButton from './ReplyButton'
|
||||
import RepostButton from './RepostButton'
|
||||
|
|
@ -48,6 +49,7 @@ export default function NoteStats({
|
|||
<RepostButton event={event} />
|
||||
<LikeButton event={event} />
|
||||
<ZapButton event={event} />
|
||||
<BookmarkButton event={event} />
|
||||
<SeenOnButton event={event} />
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -63,6 +65,7 @@ export default function NoteStats({
|
|||
<RepostButton event={event} />
|
||||
<LikeButton event={event} />
|
||||
<ZapButton event={event} />
|
||||
<BookmarkButton event={event} />
|
||||
</div>
|
||||
<div className="flex items-center" onClick={(e) => e.stopPropagation()}>
|
||||
<SeenOnButton event={event} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue