From 38b5f2a0a70f5e99cd7de20238a1edc34a52a2d1 Mon Sep 17 00:00:00 2001 From: counterweight Date: Sun, 21 Dec 2025 18:08:49 +0100 Subject: [PATCH] Fix React CSS property conflict: use border instead of borderColor - Replaced borderColor with full border property in dateButtonSelected - Replaced borderColor with full border property in slotButtonSelected - Prevents React warning about mixing shorthand and non-shorthand properties - Fixes console error when clicking elements on booking page --- frontend/app/booking/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/booking/page.tsx b/frontend/app/booking/page.tsx index 4d3c9e0..0645519 100644 --- a/frontend/app/booking/page.tsx +++ b/frontend/app/booking/page.tsx @@ -90,7 +90,7 @@ const pageStyles: Record = { }, dateButtonSelected: { background: "rgba(167, 139, 250, 0.15)", - borderColor: "#a78bfa", + border: "1px solid #a78bfa", }, dateWeekday: { color: "#fff", @@ -120,7 +120,7 @@ const pageStyles: Record = { }, slotButtonSelected: { background: "rgba(167, 139, 250, 0.15)", - borderColor: "#a78bfa", + border: "1px solid #a78bfa", }, emptyState: { fontFamily: "'DM Sans', system-ui, sans-serif",