diff --git a/apps/web/src/pages/GroupBooking.tsx b/apps/web/src/pages/GroupBooking.tsx index ad5a59b..8662a07 100644 --- a/apps/web/src/pages/GroupBooking.tsx +++ b/apps/web/src/pages/GroupBooking.tsx @@ -444,7 +444,7 @@ export function GroupBookingPage() { useEffect(() => { loadAll(); - }, [clientFilter]); // eslint-disable-line react-hooks/exhaustive-deps + }, [clientFilter]); // re-fetch when client filter changes async function cancelGroup(groupId: string) { if (!confirm("Cancel all appointments in this group visit?")) return; @@ -452,8 +452,6 @@ export function GroupBookingPage() { if (res.ok) loadAll(); } - const clientMap = new Map(clients.map((c) => [c.id, c.name])); - if (loading && groups.length === 0) return

Loading…

; if (error) return

Error: {error}

;