From 34bb069b4a85c5837eb1d611a71444691941bc4f Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Fri, 20 Oct 2023 21:13:45 +0530 Subject: [PATCH] revert: feat: Shows link location (#12024) --- .../components/booking/BookingListItem.tsx | 25 ------------------- apps/web/public/static/locales/en/common.json | 2 -- 2 files changed, 27 deletions(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 3be8b6f900..e3f4fa7b22 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -88,10 +88,6 @@ function BookingListItem(booking: BookingItemProps) { const isRecurring = booking.recurringEventId !== null; const isTabRecurring = booking.listingStatus === "recurring"; const isTabUnconfirmed = booking.listingStatus === "unconfirmed"; - const eventLocationType = getEventLocationType(booking.location); - const meetingLink = booking.references[0]?.meetingUrl - ? booking.references[0]?.meetingUrl - : booking.location; const paymentAppData = getPaymentAppData(booking.eventType); @@ -357,27 +353,6 @@ function BookingListItem(booking: BookingItemProps) { attendees={booking.attendees} /> - {!isPending && (eventLocationType || booking.location?.startsWith("https://")) && ( - -