diff --git a/src/components/AuthForm.tsx b/src/components/AuthForm.tsx index bd432d4..3f58012 100644 --- a/src/components/AuthForm.tsx +++ b/src/components/AuthForm.tsx @@ -39,6 +39,7 @@ export function AuthForm({ mode }: AuthFormProps) { if (error) throw error; setMessage('Check your email for the confirmation link!'); + window.location.href = '/dashboard'; } else { const { error } = await supabase.auth.signInWithPassword({ email,