From d1076982a718fe7a671ff514d9431346e56ee6cc Mon Sep 17 00:00:00 2001 From: Mohammed Cherfaoui Date: Wed, 25 Jan 2023 10:49:05 +0100 Subject: [PATCH] fix: event location link modal (#6387) --- apps/web/components/dialog/EditLocationDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/dialog/EditLocationDialog.tsx b/apps/web/components/dialog/EditLocationDialog.tsx index 1d9f99ae80..9105cbc148 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">