Merge branch 'develop' into ui-fix

This commit is contained in:
Amit Chauhan
2024-12-08 05:46:00 +05:30
committed by GitHub
29 changed files with 451 additions and 116 deletions

View File

@@ -40,8 +40,10 @@ const Register = () => {
notify("success", "Registration Successful!");
window.localStorage.setItem("user", JSON.stringify(data));
navigate("/");
} catch (error: any) {
notify("error", error.response?.data || "Registration Failed. Please try again.");
}
setLoading(false);
}
};