import { useRef } from 'react' import type { Article } from '@/types/nostr' import { AuthorCard } from './AuthorCard' import { ErrorState, EmptyState, Skeleton } from './ui' import { t } from '@/lib/i18n' import { useArrowNavigation } from '@/hooks/useArrowNavigation' interface AuthorsListProps { authors: Article[] allAuthors: Article[] loading: boolean error: string | null } function AuthorCardSkeleton(): React.ReactElement { return (