fix: event location link modal (#6387)

This commit is contained in:
Mohammed Cherfaoui authored and GitHub committed 2023-01-25 09:49:05 +00:00
1 parent d77e4f3c4a
commit d1076982a7
1 file changed
+1 -1
@@ -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">