import Link from "next/link"; import { Users, User } from "lucide-react"; import type { CoStar } from "@/lib/db/queries"; import { portraitUrl } from "@/lib/assetUrls"; export function CoStarsRow({ actressName, costars }: { actressName: string; costars: CoStar[] }) { if (costars.length === 0) return null; return (

Frequent co-stars

({costars.length})
{costars.map((c) => ( {c.portraitPath ? ( /* eslint-disable-next-line @next/next/no-img-element */ {c.name} ) : ( )} {c.name} {c.shared} ))}
); }