Revert "feat: Add cancelledBy input to cancellation page (#18770)" (#22479)

This reverts commit 2838053ba8.
This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2025-07-14 13:13:27 +00:00
1 parent 22acfbae28
commit 13739dabd8
3 files changed
+45 -110

No files matched your search

@@ -185,6 +185,7 @@ export default function Success(props: PageProps) {
searchParams?.get("cancelledBy") ??
session?.user?.email ??
undefined;
const defaultRating = isNaN(parsedRating) ? 3 : parsedRating > 5 ? 5 : parsedRating < 1 ? 1 : parsedRating;
const [rateValue, setRateValue] = useState<number>(defaultRating);
const [isFeedbackSubmitted, setIsFeedbackSubmitted] = useState(false);
@@ -858,8 +859,6 @@ export default function Success(props: PageProps) {
uid: bookingInfo?.uid,
title: bookingInfo?.title,
id: bookingInfo?.id,
attendees: bookingInfo?.attendees,
userEmail: bookingInfo?.user?.email as string,
}}
profile={{ name: props.profile.name, slug: props.profile.slug }}
recurringEvent={eventType.recurringEvent}