env update

This commit is contained in:
2023-01-28 19:59:42 -05:00
parent aae99a7b50
commit e4b1ceae30
3 changed files with 10 additions and 3 deletions
+3 -2
View File
@@ -20,18 +20,19 @@ export default function Login() {
};
// email
const [email, setMail] = useState("support@mermsemr.com");
const [email, setMail] = useState("");
const handleEmail = (e) => {
setMail(e.target.value);
};
// password
const [password, setPassword] = useState("123456");
const [password, setPassword] = useState("");
const handlePassword = (e) => {
setPassword(e.target.value);
};
const navigate = useNavigate();
const userApi = new usersService();
const doLogin = async () => {
// userApi.getUserReminders(); test
if (email !== "" && password !== "") {
var postData = {
username: email,