From 642bb87fc2ad5d3f53959ec0b57e0c96bd4f9f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=B8vring?= Date: Wed, 31 Jul 2024 09:52:11 +0200 Subject: [PATCH] Removes unused error handling --- src/app/auth/signin/page.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/app/auth/signin/page.tsx b/src/app/auth/signin/page.tsx index 07a1827c..cf08105e 100644 --- a/src/app/auth/signin/page.tsx +++ b/src/app/auth/signin/page.tsx @@ -86,12 +86,7 @@ const SignInWithGitHub = () => {
{ "use server" - try { - await signIn("github", { redirectTo: "/" }) - } catch (error) { - console.error(error) - throw error - } + await signIn("github", { redirectTo: "/" }) }} >