import { CheckCircle2, Loader2 } from 'lucide-react' import { Button } from '../../components/ui' import { useAbsenceNotify } from './AbsenceNotifyProvider' type AbsenceSession = { sessionId: string startsAt: string groupName: string notified: boolean } export function AbsenceSessionRow({ session }: { session: AbsenceSession }) { const { isNotified, isNotifying, notify } = useAbsenceNotify() const time = new Date(session.startsAt).toLocaleTimeString('es-MX', { hour: '2-digit', minute: '2-digit', hour12: false, }) return (
Hoy ยท {time} hs
{session.groupName}