finally fix all bugs (OMG!)

This commit is contained in:
Chika 2022-12-07 14:13:28 +03:00
parent bd63f02020
commit 87e7bd1b4a

View File

@ -23,7 +23,7 @@ export default function Form() {
const login = e.target[0].value;
const password = e.target[1].value;
const data = JSON.stringify({ login, password });
const data = { login, password };
axios
.post('/signin', data)