Function: useAppointmentStatusManager()
function useAppointmentStatusManager(): void;Defined in: shared/src/hooks/useAppointmentStatusManager.ts:19
Hook that automatically manages appointment statuses based on current time.
This hook runs in the background and updates appointment statuses according to:
- upcoming → active: when current time >= start_date
- active → finished: when current time > end_date AND no work_time_entry_id
Should be called once at the app level (e.g., in WorkCalendar.tsx or Shell.tsx)
Returns
Section titled “Returns”void