From 12e1c50f4bb5ce0843978bed4c7c0df1059655d6 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Tue, 2 Sep 2025 21:22:43 +0000 Subject: [PATCH] Fix Google login redirect Corrected the redirection flow after Google sign-up. Previously, users were redirected to the landing page after completing their profile, instead of being directed into the app. This change ensures that after a user completes their profile following a Google sign-up, they are correctly directed into the application. --- src/pages/CompleteProfile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/CompleteProfile.tsx b/src/pages/CompleteProfile.tsx index 2c24292..08e7215 100644 --- a/src/pages/CompleteProfile.tsx +++ b/src/pages/CompleteProfile.tsx @@ -114,7 +114,7 @@ const CompleteProfile = () => { setProfileComplete(true); // Redirecionar para dashboard - navigate('/'); + navigate('/dashboard'); } catch (error) { console.error('❌ Erro ao completar perfil:', error);