mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
fix: estimate entries & floatingAction.
This commit is contained in:
@@ -136,8 +136,10 @@ function ReceiptForm({
|
||||
};
|
||||
|
||||
// Handle the request error.
|
||||
const onError = (errors) => {
|
||||
handleErrors(errors, { setErrors });
|
||||
const onError = ({response:{data:{errors}}}) => {
|
||||
if(errors){
|
||||
handleErrors(errors, { setErrors });
|
||||
}
|
||||
setSubmitting(false);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user