+
+
+
{
}}
/>
{warnings.email &&
{warnings.email}
}
+
{
/>
{eye}{" "}
+
+
+ {
+ setPassword(e.target.value);
+ setWarnings((prevWarnings) => ({ ...prevWarnings, password: "" }));
+ }}
+ onBlur={(e) => {
+ if (!e.target.value) {
+ setWarnings((prevWarnings) => ({ ...prevWarnings, password: "*Please enter your password" }));
+ }
+ }}
+ />
+
+
+
+
{warnings.password &&
{warnings.password}
}
- Forgot your password? Reset it here
-
+ Forgot your password?
Reset it here
+
Don't have an account? Sign up
@@ -119,4 +151,4 @@ const Login = () => {
);
};
-export default Login;
+export default Login;
\ No newline at end of file