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:
parent
423b96af6c
commit
12e1c50f4b
@ -114,7 +114,7 @@ const CompleteProfile = () => {
|
||||
setProfileComplete(true);
|
||||
|
||||
// Redirecionar para dashboard
|
||||
navigate('/');
|
||||
navigate('/dashboard');
|
||||
|
||||
} catch (error) {
|
||||
console.error('❌ Erro ao completar perfil:', error);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user