import { useId } from "react"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Badge } from "@calcom/ui/components/badge"; import { Tooltip } from "@calcom/ui/components/tooltip"; import type { RoutingFormTableRow } from "@calcom/web/modules/insights/lib/types"; import { CellWithOverflowX } from "./CellWithOverflowX"; export function BookedByCell({ attendees, rowId, }: { attendees: RoutingFormTableRow["bookingAttendees"]; rowId: number; }) { const cellId = useId(); const { t } = useLocale(); if (!attendees || attendees.length === 0) return
; return (