import { memo } from "react"; import { Badge } from "~/components/ui/badge"; interface SidebarRecentPicksProps { picks: Array<{ id: string; pickNumber: number; round: number; participant: { name: string; }; sport: { name: string; }; team: { name: string; }; }>; } export const SidebarRecentPicks = memo(function SidebarRecentPicks({ picks }: SidebarRecentPicksProps) { return (
No picks yet...
) : ({pick.participant.name}
{pick.sport.name}
{pick.team.name}