Hotfix: Success page layout broken due to duplicate "When" (#2716)

test-production-merge
Hariom Balhara 2022-05-10 14:49:46 +05:30 committed by GitHub
parent ef68f4f4f8
commit 2d6d1cb444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -299,15 +299,15 @@ export default function Success(props: SuccessProps) {
<div className="font-medium">{t("what")}</div> <div className="font-medium">{t("what")}</div>
<div className="col-span-2 mb-6">{eventName}</div> <div className="col-span-2 mb-6">{eventName}</div>
<div className="font-medium">{t("when")}</div> <div className="font-medium">{t("when")}</div>
<div className="col-span-2 mb-6"> {/* <div className="col-span-2 mb-6">
{date.format("MMMM DD, YYYY")} {date.format("MMMM DD, YYYY")}
<br /> <br />
{date.format("LT")} - {date.add(props.eventType.length, "m").format("LT")}{" "} {date.format("LT")} - {date.add(props.eventType.length, "m").format("LT")}{" "}
<span className="text-bookinglight"> <span className="text-bookinglight">
({localStorage.getItem("timeOption.preferredTimeZone") || dayjs.tz.guess()}) ({localStorage.getItem("timeOption.preferredTimeZone") || dayjs.tz.guess()})
</span> </span>
</div> </div> */}
<div className="col-span-2"> <div className="col-span-2 mb-6">
<RecurringBookings <RecurringBookings
isReschedule={reschedule === "true"} isReschedule={reschedule === "true"}
eventType={props.eventType} eventType={props.eventType}