Auto clear RespID

This commit is contained in:
pepper committed 2021-01-18 01:47:36 -05:00
1 parent 7145157622
commit d4b80352d0
2 files changed
+2

No files matched your search

@@ -75,6 +75,7 @@ export const CPanelBooking = () => {
})
.catch(function (error) {
setError(buildErrorStringFromArray(error.response.data))
setRespID(0)
});
setSubmitting(false);
resetForm({ values: "" });
@@ -42,6 +42,7 @@ const ReportSingleMigration = ({ item }) => {
})
.catch(function (error) {
setError(buildErrorStringFromArray(error.response.data));
setRespID(0)
});
setSubmitting(false);
};