Auto clear RespID
This commit is contained in:
parent
7145157622
commit
d4b80352d0
@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user