import type { GroupWaitlistEntryDto } from '@gruperly/shared' import { ChevronRight } from 'lucide-react' import { formatPhoneDisplay } from '../../../lib/format' import { useGroupDetail } from './GroupDetailProvider' export function WaitlistTable({ entries }: { entries: GroupWaitlistEntryDto[] }) { const { setSelectedWaitlistEntry } = useGroupDetail() return (
| Nombre | Teléfono | Detalle |
|---|---|---|
|
{entry.fullName.charAt(0).toUpperCase()}
{entry.fullName} {entry.notes ? ({entry.notes} ) : null} |
{entry.phone ? ( {formatPhoneDisplay(entry.phone)} ) : ( — )} |
|