From d10c662e0f34af773031213886b7fcdcfecf48a7 Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Tue, 30 Aug 2022 22:51:09 -0600 Subject: [PATCH] remove unnecessary 'await' --- web-ui/web-react/src/components/LogInUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-ui/web-react/src/components/LogInUser.js b/web-ui/web-react/src/components/LogInUser.js index d79bac90..32d44b58 100644 --- a/web-ui/web-react/src/components/LogInUser.js +++ b/web-ui/web-react/src/components/LogInUser.js @@ -22,7 +22,7 @@ class LogInUser extends Component { } handleChange = async (e) => { - await this.setState({ + this.setState({ form: { ...this.state.form, [e.target.name]: e.target.value,