Fix unnecessary object structuring
This commit is contained in:
parent
7ed3c25d61
commit
23872b844a
3 changed files with 4 additions and 4 deletions
|
@ -91,7 +91,7 @@ const EnhancedForm = withFormik<Props, Values>({
|
|||
.catch(error => {
|
||||
console.error(error);
|
||||
setSubmitting(false);
|
||||
clearAndAddHttpError({ error: error });
|
||||
clearAndAddHttpError({ error });
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue