diff --git a/apps/web/pages/success.tsx b/apps/web/pages/success.tsx index b65e1353d2..5810bdeef8 100644 --- a/apps/web/pages/success.tsx +++ b/apps/web/pages/success.tsx @@ -11,7 +11,6 @@ import { useRouter } from "next/router"; import { useEffect, useState } from "react"; import Button from "@calcom/ui/Button"; -import { Dialog, DialogContent, DialogFooter } from "@calcom/ui/Dialog"; import { EmailInput } from "@calcom/ui/form/fields"; import { asStringOrThrow, asStringOrNull } from "@lib/asStringOrNull"; @@ -100,158 +99,165 @@ export default function Success(props: inferSSRProps) />
- - { - e.preventDefault(); - }}> -
- {!needsConfirmation && } - {needsConfirmation && } -
-
- -
-
-

- {needsConfirmation - ? props.profile.name !== null - ? t("user_needs_to_confirm_or_reject_booking", { user: props.profile.name }) - : t("needs_to_be_confirmed_or_rejected") - : t("emailed_you_and_attendees")} -

-
-
-
{t("what")}
-
{eventName}
-
{t("when")}
-
- {date.format("dddd, DD MMMM YYYY")} -
- {date.format(is24h ? "H:mm" : "h:mma")} - {props.eventType.length} mins{" "} - - ({localStorage.getItem("timeOption.preferredTimeZone") || dayjs.tz.guess()}) - -
- {location && ( - <> -
{t("where")}
-
- {location.startsWith("http") ? ( - - {location} - - ) : ( - location - )} +
+
+
+ +
)) ||