From dbbf77f21a9073fc62f13ba543af0e2671c4db0f Mon Sep 17 00:00:00 2001 From: zomars Date: Wed, 31 Aug 2022 10:57:57 -0600 Subject: [PATCH] Revert "Fixes type error (#4065)" This reverts commit 19ae065f6873106d7ad08c169d28588e0bdaa4f0. --- apps/web/pages/v2/event-types/[type]/index.tsx | 1 + packages/app-store/locations.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/pages/v2/event-types/[type]/index.tsx b/apps/web/pages/v2/event-types/[type]/index.tsx index c791614067..ef5ee847c9 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 edc40a6e69..2797e44240 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;