Skip to content

Commit ea5b6ab

Browse files
committed
I'm going to jump
1 parent 4870fb4 commit ea5b6ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/login/page.jsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ export default function LoginPage() {
2222

2323
try {
2424
await signInWithEmailAndPassword(auth, email, password);
25-
router.push("/crypt-webapp/dashboard");
25+
router.push("/dashboard");
2626
} catch (err) {
27-
setError("Failed to sign in. Please check your credentials.");
28-
console.error(err);
27+
console.error("Login error:", err);
28+
setError(err.message || "Failed to sign in. Please check your credentials.");
2929
}
3030

3131
setLoading(false);
@@ -88,7 +88,7 @@ export default function LoginPage() {
8888

8989
<div className="text-center">
9090
<Link
91-
href="/crypt-webapp/register"
91+
href="/register"
9292
className="font-medium text-blue-400 hover:text-blue-500"
9393
>
9494
Don't have an account? Register here

0 commit comments

Comments
 (0)