remove unnecessary 'await'
This commit is contained in:
parent
3df047c532
commit
d10c662e0f
|
@ -22,7 +22,7 @@ class LogInUser extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleChange = async (e) => {
|
handleChange = async (e) => {
|
||||||
await this.setState({
|
this.setState({
|
||||||
form: {
|
form: {
|
||||||
...this.state.form,
|
...this.state.form,
|
||||||
[e.target.name]: e.target.value,
|
[e.target.name]: e.target.value,
|
||||||
|
|
Loading…
Reference in New Issue