import type { ReactNode } from "react"; import { Card } from "@heroui/react"; import { StateChip } from "@/components/StatusChip"; import { relTime } from "@/lib/format"; import type { SessionView } from "@/protocol"; /** * Only rendered when more than one session is live. With a single workspace the Now card * already says everything, and an extra list is just noise on a small screen. */ export function SessionsCard({ sessions, selectedId, onSelect, now, }: { sessions: SessionView[]; selectedId: string | null; onSelect: (id: string | null) => void; now: number; }) { return ( Sessions Tap one to filter the activity list. ); } function Row({ active, onPress, children, }: { active: boolean; onPress: () => void; children: ReactNode; }) { return ( ); }