From 5f0188b03651abccb58a50444b55e8eb9105058d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=99=E4=BB=80=E7=93=A6=E7=89=B9?= <114943221+ShashwatPS@users.noreply.github.com> Date: Sun, 31 Aug 2025 21:38:17 +0530 Subject: [PATCH] fix: cancel event button for each booking on bookings page (#23479) * Cancel Event Fix * update --------- Co-authored-by: unknown Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> --- apps/web/components/booking/BookingListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index b5c97a7bbb..3bd488605f 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -691,7 +691,7 @@ function BookingListItem(booking: BookingItemProps) { type="button" color={cancelEventAction.color} StartIcon={cancelEventAction.icon} - href={cancelEventAction.href} + href={cancelEventAction.disabled ? undefined : cancelEventAction.href} onClick={cancelEventAction.onClick} disabled={cancelEventAction.disabled} data-bookingid={cancelEventAction.bookingId}