fix: cancel event button for each booking on bookings page (#23479)

* Cancel Event Fix

* update

---------

Co-authored-by: unknown <adhabal2002@gmail.com>
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-08-31 21:38:17 +05:30
1 parent bf3037d57e
commit 5f0188b036
1 file changed
+1 -1
@@ -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}