feat: optimize the display effect of other kinds of events
This commit is contained in:
parent
5e3fd93a23
commit
73b38d37e7
17 changed files with 719 additions and 66 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { useMuteList } from '@/providers/MuteListProvider'
|
||||
import { Event, kinds } from 'nostr-tools'
|
||||
import NormalNoteCard from './NormalNoteCard'
|
||||
import GenericNoteCard from './GenericNoteCard'
|
||||
import RepostNoteCard from './RepostNoteCard'
|
||||
|
||||
export default function NoteCard({
|
||||
|
|
@ -22,5 +22,5 @@ export default function NoteCard({
|
|||
<RepostNoteCard event={event} className={className} filterMutedNotes={filterMutedNotes} />
|
||||
)
|
||||
}
|
||||
return <NormalNoteCard event={event} className={className} />
|
||||
return <GenericNoteCard event={event} className={className} />
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue