Auto clear RespID
This commit is contained in:
parent
7145157622
commit
d4b80352d0
@ -75,6 +75,7 @@ export const CPanelBooking = () => {
|
|||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
setError(buildErrorStringFromArray(error.response.data))
|
setError(buildErrorStringFromArray(error.response.data))
|
||||||
|
setRespID(0)
|
||||||
});
|
});
|
||||||
setSubmitting(false);
|
setSubmitting(false);
|
||||||
resetForm({ values: "" });
|
resetForm({ values: "" });
|
||||||
|
|||||||
@ -42,6 +42,7 @@ const ReportSingleMigration = ({ item }) => {
|
|||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
setError(buildErrorStringFromArray(error.response.data));
|
setError(buildErrorStringFromArray(error.response.data));
|
||||||
|
setRespID(0)
|
||||||
});
|
});
|
||||||
setSubmitting(false);
|
setSubmitting(false);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user