From 6cc8bad1a5f6594a13da725d553aab7d0d19b6c6 Mon Sep 17 00:00:00 2001 From: Barkley Trimsworth Date: Sat, 28 Mar 2026 04:15:52 +0000 Subject: [PATCH] fix(portal): add onClick handler to Reschedule button Reschedule buttons in Dashboard and Appointments had no onClick handler, making them no-ops. Add type="button" to prevent accidental form submission and an alert() placeholder until the reschedule modal is implemented. Fixes GRO-166. Co-Authored-By: Paperclip --- apps/web/src/portal/sections/Appointments.tsx | 6 +++++- apps/web/src/portal/sections/Dashboard.tsx | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/web/src/portal/sections/Appointments.tsx b/apps/web/src/portal/sections/Appointments.tsx index 04c2bc1..4f725ab 100644 --- a/apps/web/src/portal/sections/Appointments.tsx +++ b/apps/web/src/portal/sections/Appointments.tsx @@ -176,7 +176,11 @@ function AppointmentCard({ )} {appt.status !== "completed" && appt.status !== "cancelled" && !readOnly && (
- diff --git a/apps/web/src/portal/sections/Dashboard.tsx b/apps/web/src/portal/sections/Dashboard.tsx index 2f82cc7..93ba1c4 100644 --- a/apps/web/src/portal/sections/Dashboard.tsx +++ b/apps/web/src/portal/sections/Dashboard.tsx @@ -77,7 +77,11 @@ export function Dashboard({ onNavigate, readOnly }: Props) {
{!readOnly && (
-