SingUpPage.js :red_flag: configimport SignUpForm; fetch('http://localhost:3000/auth/login', {
method: 'POST',
cache: false,
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
email: email,
password: password
})
}).then(response => {
if (response.status === 200) {
this.setState({
errors: {}
});