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">