import { MediaCard } from '../components/MediaCard' import type { SeriesCard } from '../utils/groupSeries' import { seriesCardLink } from '../utils/groupSeries' type SearchLocalResultsProps = { localCards: SeriesCard[] itemCount: number searchTotal: number loading: boolean } export function SearchLocalResults({ localCards, itemCount, searchTotal, loading, }: SearchLocalResultsProps) { if (localCards.length === 0) return null return ( <>