Merge branch 'Kartik_Bug#805' of https://git.marcoaiot.com/admin/marco.pms.web into Kartik_Bug#805
This commit is contained in:
commit
029b8300ff
@ -85,9 +85,7 @@ const NotesDirectory = ({
|
||||
} catch (error) {
|
||||
setIsSubmitting(false);
|
||||
const msg =
|
||||
error.response?.data?.message ||
|
||||
error.message ||
|
||||
"Error occurred during API calling";
|
||||
error.response?.data?.message || error.message || "Error occurred during API calling";
|
||||
showToast(msg, "error");
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user