finally fix all bugs (OMG!)
This commit is contained in:
parent
bd63f02020
commit
87e7bd1b4a
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user