From 16a19eafc1612440f158258de8b00cb6b73284ec Mon Sep 17 00:00:00 2001 From: Groom Book CTO Date: Tue, 17 Mar 2026 21:32:40 +0000 Subject: [PATCH] fix: remove eslint-disable for uninstalled react-hooks plugin; remove unused clientMap (GRO-27) Co-Authored-By: Paperclip --- apps/web/src/pages/GroupBooking.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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}

;