feat: remove picture tab

This commit is contained in:
codytseng
2025-07-30 23:17:55 +08:00
parent 811388dd2e
commit 629ad3f7cd
14 changed files with 26 additions and 685 deletions

View File

@@ -1,7 +1,6 @@
import { Skeleton } from '@/components/ui/skeleton'
import { useMuteList } from '@/providers/MuteListProvider'
import { Event, kinds } from 'nostr-tools'
import { useTranslation } from 'react-i18next'
import MainNoteCard from './MainNoteCard'
import RepostNoteCard from './RepostNoteCard'
@@ -27,13 +26,7 @@ export default function NoteCard({
return <MainNoteCard event={event} className={className} />
}
export function NoteCardLoadingSkeleton({ isPictures }: { isPictures: boolean }) {
const { t } = useTranslation()
if (isPictures) {
return <div className="text-center text-sm text-muted-foreground">{t('loading...')}</div>
}
export function NoteCardLoadingSkeleton() {
return (
<div className="px-4 py-3">
<div className="flex items-center space-x-2">