From 6f236ed1ce44cf86f52d0843dd46fd0889fbf4fe Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 18 Nov 2025 02:30:01 +0100 Subject: [PATCH] fix: correct Google login handler function name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename handleGoogleLoginSuccess to handleGoogleLogin and update the onClick handler to use the correct function name. This fixes the client-side exception on the login page. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/login/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/login/page.tsx b/app/login/page.tsx index 7cc7d8c..66dfefc 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -51,7 +51,7 @@ export default function LoginPage() { } }; - const handleGoogleLoginSuccess = useGoogleLogin({ + const handleGoogleLogin = useGoogleLogin({ onSuccess: async (tokenResponse) => { setIsGoogleLoading(true); console.log('🔑 Token Google reçu:', tokenResponse); @@ -158,7 +158,7 @@ export default function LoginPage() {