From 1af8079e17df57b1eb30052001769e669c5728d1 Mon Sep 17 00:00:00 2001 From: notmd Date: Thu, 26 Jan 2023 01:02:27 +0700 Subject: [PATCH] remove debug code --- website/src/pages/auth/signin.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/website/src/pages/auth/signin.tsx b/website/src/pages/auth/signin.tsx index 3036a0b9..8f1edf9f 100644 --- a/website/src/pages/auth/signin.tsx +++ b/website/src/pages/auth/signin.tsx @@ -66,13 +66,12 @@ function Signin({ providers }: SigninProps) { } }, [router]); - const signinWithEmail = async (data: { email: string }) => { - const res = await signIn(email.id, { + const signinWithEmail = (data: { email: string }) => { + signIn(email.id, { callbackUrl: "/dashboard", email: data.email, captcha: captcha.current?.getResponse(), }); - console.log(res); }; const { colorMode } = useColorMode();