fix: loading state on submit button.

This commit is contained in:
elforjani13
2021-12-08 20:11:09 +02:00
parent 6573f19ff8
commit 3690c88c04
2 changed files with 2 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ function ReconcileCreditNoteForm({
// Handle form submit.
const handleFormSubmit = (values, { setSubmitting, setErrors }) => {
setSubmitting(false);
setSubmitting(true);
// Filters the entries.
const entries = values.entries