import Link from "next/link"; import type { WhoseCourt as WhoseCourtData } from "@/lib/dashboard/ops"; /** * Which waits are the client's and which are ours. * * Two numbers rather than one, because they call for opposite responses: a * version unanswered for a fortnight is a phone call, while notes nobody has * picked up is a scheduling problem. */ export function WhoseCourt({ court }: { court: WhoseCourtData }) { return (
); } function Side({ title, subtitle, side, empty, className, }: { title: string; subtitle: string; side: WhoseCourtData["client"]; empty: string; className?: string; }) { return (

{title}

{subtitle}

{side.count} {side.items.length === 0 ? (

{empty}

) : ( )}
); }