From c84c0d1cc7fa2b9df9f7a170c3e5933df48baf78 Mon Sep 17 00:00:00 2001 From: Diptesh Choudhuri Date: Thu, 24 Oct 2024 06:22:13 +0530 Subject: [PATCH] build(website): add correct dependencies --- apps/website/app/routes/_index.tsx | 10 ++++------ apps/website/package.json | 1 + yarn.lock | 1 + 3 files changed, 6 insertions(+), 6 deletions(-) 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