From f281131bf6c2e953e59c6b07cc346a14f02e7e89 Mon Sep 17 00:00:00 2001 From: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:19:41 +0530 Subject: [PATCH] fix: Improve onboarding Availability (#10685) * improve onboarding * Update Schedule.tsx --- apps/web/pages/getting-started/[[...step]].tsx | 4 ++-- packages/features/schedules/components/Schedule.tsx | 5 ++--- packages/ui/components/card/StepCard.tsx | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/web/pages/getting-started/[[...step]].tsx b/apps/web/pages/getting-started/[[...step]].tsx index 35c413a29f..ea562ceb84 100644 --- a/apps/web/pages/getting-started/[[...step]].tsx +++ b/apps/web/pages/getting-started/[[...step]].tsx @@ -121,10 +121,10 @@ const OnboardingPage = () => { -
+
-
+

{headers[currentStepIndex]?.title || "Undefined title"} diff --git a/packages/features/schedules/components/Schedule.tsx b/packages/features/schedules/components/Schedule.tsx index 463735f083..aef2960e6c 100644 --- a/packages/features/schedules/components/Schedule.tsx +++ b/packages/features/schedules/components/Schedule.tsx @@ -69,7 +69,6 @@ const ScheduleDay = ({ />

{weekday} - {watchDayRange && !!watchDayRange.length &&
{CopyButton}
}
@@ -77,7 +76,7 @@ const ScheduleDay = ({ {watchDayRange ? (
- {!!watchDayRange.length &&
{CopyButton}
} + {!!watchDayRange.length &&
{CopyButton}
}
) : ( @@ -244,7 +243,7 @@ const RemoveTimeButton = ({ const TimeRangeField = ({ className, value, onChange }: { className?: string } & ControllerRenderProps) => { // this is a controlled component anyway given it uses LazySelect, so keep it RHF agnostic. return ( -
+
= (props) => { return ( -
+
{props.children}
);