Skip to content

Scheduling infrastructure for absolutely everyone.

fix: event location link modal (#6387)

Mohammed Cherfaouid1076982a718
diff --git a/apps/web/components/dialog/EditLocationDialog.tsx b/apps/web/components/dialog/EditLocationDialog.tsx
index 1d9f99ae803..9105cbc1484 100644
--- a/apps/web/components/dialog/EditLocationDialog.tsx
+++ b/apps/web/components/dialog/EditLocationDialog.tsx
@@ -327,7 +327,7 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
setShowLocationModal(false);
setSelectedLocation?.(undefined);
setEditingLocationType?.("");
- locationFormMethods.unregister("locationType");
+ locationFormMethods.unregister(["locationType", "locationLink"]);
}}
type="button"
color="secondary">