diff --git a/src/components/AuthPages/Login/index.jsx b/src/components/AuthPages/Login/index.jsx index 3ca1445..413eb77 100644 --- a/src/components/AuthPages/Login/index.jsx +++ b/src/components/AuthPages/Login/index.jsx @@ -30,8 +30,10 @@ export default function Login() { setPassword(e.target.value); }; const navigate = useNavigate(); + const userApi = new usersService(); const doLogin = () => { if (email !== "" && password !== "") { + userApi.logInUser("support@mermsemr.com"); // just for a test if (email === "support@mermsemr.com") { localStorage.setItem("email", `${email}`); setLoginLoading(true);