remove unnecessary 'await'

This commit is contained in:
Eduardo Quiros 2022-08-30 22:51:09 -06:00
parent 3df047c532
commit d10c662e0f
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 1 additions and 1 deletions

View File

@ -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,