From 760ed74a11df1b9d9e3f2c314ddd591f1242af37 Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 29 Sep 2022 14:19:04 +0200 Subject: [PATCH] Fixes broken E2E tests Introduced in #4657 --- apps/web/components/booking/BookingListItem.tsx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 1117883f9d..5eef3d21a5 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -365,20 +365,8 @@ function BookingListItem(booking: BookingItemProps) { )} -
-
- {isUpcoming && !isCancelled ? ( - <> - {isPending && user?.id === booking.user?.id && } - {isConfirmed && } - {isRejected &&
{t("rejected")}
} - - ) : null} - {isPast && isPending && !isConfirmed ? : null} -
-
- + {isUpcoming && !isCancelled ? ( <> {isPending && user?.id === booking.user?.id && }