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.
This commit is contained in:
gpt-engineer-app[bot] 2025-09-02 21:22:43 +00:00
parent 423b96af6c
commit 12e1c50f4b

View File

@ -114,7 +114,7 @@ const CompleteProfile = () => {
setProfileComplete(true);
// Redirecionar para dashboard
navigate('/');
navigate('/dashboard');
} catch (error) {
console.error('❌ Erro ao completar perfil:', error);