diff --git a/src/components/Login.js b/src/components/Login.js index cb46dcd..a1b6ca1 100644 --- a/src/components/Login.js +++ b/src/components/Login.js @@ -8,7 +8,9 @@ const Login = (props) => { const handleSubmit = async (e) => { e.preventDefault(); - const response = await fetch("http://localhost:5000/api/auth/login", { + Lollll + +("http://localhost:5000/api/auth/login", { method: 'POST', headers: { 'Content-Type': 'application/json'