Fix unnecessary object structuring

This commit is contained in:
Dane Everitt 2020-10-22 21:33:06 -07:00
parent 7ed3c25d61
commit 23872b844a
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 4 additions and 4 deletions

View file

@ -91,7 +91,7 @@ const EnhancedForm = withFormik<Props, Values>({
.catch(error => {
console.error(error);
setSubmitting(false);
clearAndAddHttpError({ error: error });
clearAndAddHttpError({ error });
});
},