Skip to content

Scheduling infrastructure for absolutely everyone.

Revert "Fixes type error (#4065)"

zomarsdbbf77f21a90
diff --git a/apps/web/pages/v2/event-types/[type]/index.tsx b/apps/web/pages/v2/event-types/[type]/index.tsx
index c791614067f..ef5ee847c9e 100644
--- a/apps/web/pages/v2/event-types/[type]/index.tsx
+++ b/apps/web/pages/v2/event-types/[type]/index.tsx
@@ -57,6 +57,7 @@ export type FormValues = {
link?: string;
hostPhoneNumber?: string;
displayLocationPublicly?: boolean;
+ phone?: string;
}[];
customInputs: EventTypeCustomInput[];
users: string[];
diff --git a/packages/app-store/locations.ts b/packages/app-store/locations.ts
index edc40a6e694..2797e442404 100644
--- a/packages/app-store/locations.ts
+++ b/packages/app-store/locations.ts
@@ -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;