Removing alerts from registration

This commit is contained in:
hz
2025-05-13 11:01:07 -07:00
parent 6a1697048c
commit a3ca64dc8d
-2
View File
@@ -78,11 +78,9 @@ const Register = () => {
throw new Error(data.message || "Registration failed");
}
alert("Registration successful!");
navigate("/login");
} catch (err) {
console.error("Register error:", err);
alert("Network or server error occurred.");
}
};