refactor: 💨

This commit is contained in:
codytseng
2025-07-07 22:34:59 +08:00
parent c729c20771
commit 8c5cc1041b
46 changed files with 1008 additions and 879 deletions

View File

@@ -2,7 +2,7 @@ import { Skeleton } from '@/components/ui/skeleton'
import { useMuteList } from '@/providers/MuteListProvider'
import { Event, kinds } from 'nostr-tools'
import { useTranslation } from 'react-i18next'
import GenericNoteCard from './GenericNoteCard'
import MainNoteCard from './MainNoteCard'
import RepostNoteCard from './RepostNoteCard'
export default function NoteCard({
@@ -24,7 +24,7 @@ export default function NoteCard({
<RepostNoteCard event={event} className={className} filterMutedNotes={filterMutedNotes} />
)
}
return <GenericNoteCard event={event} className={className} />
return <MainNoteCard event={event} className={className} />
}
export function NoteCardLoadingSkeleton({ isPictures }: { isPictures: boolean }) {