feat: optimize the display effect of other kinds of events

This commit is contained in:
codytseng
2025-02-13 22:56:09 +08:00
parent 5e3fd93a23
commit 73b38d37e7
17 changed files with 719 additions and 66 deletions

View File

@@ -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} />
}