From 5225fc4317167d81cc2d2a1bcec0ffbf22e42a67 Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Tue, 31 May 2022 16:50:51 +0530 Subject: [PATCH] A few booking page UI fixes (#2932) --- .../booking/pages/AvailabilityPage.tsx | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsx index 84eca3e9a2..c9f864ca31 100644 --- a/apps/web/components/booking/pages/AvailabilityPage.tsx +++ b/apps/web/components/booking/pages/AvailabilityPage.tsx @@ -258,12 +258,6 @@ const AvailabilityPage = ({ profile, plan, eventType, workingHours, previousPage {eventType.description}
)} - {eventType.locations.length === 1 && ( -
-
{Object.values(AppStoreLocationType).includes( @@ -278,12 +272,12 @@ const AvailabilityPage = ({ profile, plan, eventType, workingHours, previousPage
)}
-
+
{t("every_for_freq", { freq: t( `${RRuleFrequency[eventType.recurringEvent.freq].toString().toLowerCase()}` @@ -405,7 +399,7 @@ const AvailabilityPage = ({ profile, plan, eventType, workingHours, previousPage setRecurringEventCount(parseInt(event?.target.value)); }} /> -
+
{t(`${RRuleFrequency[eventType.recurringEvent.freq].toString().toLowerCase()}`, { count: recurringEventCount, })} @@ -413,7 +407,7 @@ const AvailabilityPage = ({ profile, plan, eventType, workingHours, previousPage
+