Skip to content

Scheduling infrastructure for absolutely everyone.

Fix/Embed - Fix for Duration query param getting removed (#6139)

Hariom Balhara8c4eb4b5fe50
diff --git a/apps/web/components/booking/BookingDescription.tsx b/apps/web/components/booking/BookingDescription.tsx
index 01598b5caa6..73b7e63a6a0 100644
--- a/apps/web/components/booking/BookingDescription.tsx
+++ b/apps/web/components/booking/BookingDescription.tsx
@@ -55,7 +55,7 @@ const BookingDescription: FC<Props> = (props) => {
}
}
}
- }, []);
+ }, [setDuration, eventType.length, eventType.metadata?.multipleDuration, duration]);
let requiresConfirmation = eventType?.requiresConfirmation;
let requiresConfirmationText = t("requires_confirmation");
const rcThreshold = eventType?.metadata?.requiresConfirmationThreshold;