+
+
+
+
+ {
+ setPassword(e.target.value);
+ }}
+ onKeyDown={(e) => {
+ if (e.key === "Enter") {
+ e.preventDefault();
+ handleSubmit(e).catch((error) => {
+ console.log(error);
+ });
+ }
+ }}
+ />
+
+ {!valid &&
Invalid email or password.
}
+
+
+
+
+
+