Revert "Fixes type error (#4065)"

This reverts commit 19ae065f68.
This commit is contained in:
zomars committed 2022-08-31 11:05:30 -06:00
1 parent 19ae065f68
commit dbbf77f21a
2 files changed
+2 -1

No files matched your search

@@ -57,6 +57,7 @@ export type FormValues = {
link?: string;
hostPhoneNumber?: string;
displayLocationPublicly?: boolean;
phone?: string;
}[];
customInputs: EventTypeCustomInput[];
users: string[];
+1 -1
View File
@@ -17,7 +17,7 @@ export type DefaultEventLocationType = {
// HACK: `variable` and `defaultValueVariable` are required due to legacy reason where different locations were stored in different places.
variable: "locationType" | "locationAddress" | "locationLink" | "locationPhoneNumber" | "phone";
defaultValueVariable: "address" | "link" | "hostPhoneNumber";
defaultValueVariable: "address" | "link" | "hostPhoneNumber" | "phone";
} & (
| {
organizerInputType: "phone" | "text" | null;