diff --git a/apps/website/app/routes/_index.tsx b/apps/website/app/routes/_index.tsx index 7e8df9cb38..29423458b9 100644 --- a/apps/website/app/routes/_index.tsx +++ b/apps/website/app/routes/_index.tsx @@ -139,9 +139,7 @@ export const action = async ({ request }: ActionFunctionArgs) => { .run(); }; -const intentSchema = z.object({ intent: z.string() }); - -const emailSchema = z.object({ email: z.string().email() }).merge(intentSchema); +const emailSchema = z.object({ email: z.string().email() }); const registerSchema = z .object({ otpCode: z.string().length(6) }) @@ -302,7 +300,7 @@ export default function Page() {
OR