From 8c4eb4b5fe5022eae696bcde891613111add6d93 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Wed, 21 Dec 2022 15:44:56 +0530 Subject: [PATCH] Fix/Embed - Fix for Duration query param getting removed (#6139) --- apps/web/components/booking/BookingDescription.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/booking/BookingDescription.tsx b/apps/web/components/booking/BookingDescription.tsx index 01598b5caa..73b7e63a6a 100644 --- a/apps/web/components/booking/BookingDescription.tsx +++ b/apps/web/components/booking/BookingDescription.tsx @@ -55,7 +55,7 @@ const BookingDescription: FC = (props) => { } } } - }, []); + }, [setDuration, eventType.length, eventType.metadata?.multipleDuration, duration]); let requiresConfirmation = eventType?.requiresConfirmation; let requiresConfirmationText = t("requires_confirmation"); const rcThreshold = eventType?.metadata?.requiresConfirmationThreshold;