From a65d70b27a992c8443bc1758d2c22a80ea4dc5b0 Mon Sep 17 00:00:00 2001 From: linxiaoxin Date: Thu, 6 Jun 2024 01:08:24 +0800 Subject: [PATCH] Fix build error --- app/(full-page)/auth/google/page.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/(full-page)/auth/google/page.tsx b/app/(full-page)/auth/google/page.tsx index 38633a8..8d6e280 100644 --- a/app/(full-page)/auth/google/page.tsx +++ b/app/(full-page)/auth/google/page.tsx @@ -25,16 +25,11 @@ const GoogleAuthPage = () => { console.log('redirection'); //redirect('/auth/access'); } - if(!GoogleSigninService.getAuthenticated(codeVerifier, authCode)){ - console.log('google authentication fails'); - redirect('/auth/access'); - } + GoogleSigninService.getAuthenticated(codeVerifier, authCode) },[]) return (

Google Response Success

-

{authCode}

-

{codeVerifier}

); }