Update src/app/login/page.tsx
This commit is contained in:
@@ -51,8 +51,6 @@ export default function LoginPage() {
|
||||
// Redirect to dashboard
|
||||
window.location.href = "/dashboard";
|
||||
}
|
||||
} catch (err) {
|
||||
setError("Erro ao fazer login. Tente novamente.");
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user