fix: Email Embed slots not showing up (#11379)

pull/11395/head
Hariom Balhara 2023-09-16 00:54:20 +05:30 committed by GitHub
parent f59f4ca26c
commit ab77531167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -137,8 +137,6 @@ const EmailEmbed = ({ eventType, username }: { eventType?: EventType; username:
const [timezone] = useTimePreferences((state) => [state.timezone]);
const [selectTime, setSelectTime] = useState(false);
useInitializeBookerStore({
username,
eventSlug: eventType?.slug ?? "",
@ -248,7 +246,7 @@ const EmailEmbed = ({ eventType, username }: { eventType?: EventType; username:
</div>
{selectedDate ? (
<div className="mt-[9px] font-medium ">
{selectTime && selectedDate ? (
{selectedDate ? (
<div className="flex h-full w-full flex-row gap-4">
<AvailableTimes
className="w-full"