update
This commit is contained in:
@ -91,7 +91,8 @@ const ApprovalDialog = () => {
|
|||||||
// console.log(response?.message?.error?.message,response?.status);
|
// console.log(response?.message?.error?.message,response?.status);
|
||||||
|
|
||||||
if (response?.status === false) {
|
if (response?.status === false) {
|
||||||
toast.error(response?.message || response?.message?.error?.message || 'Approval failed' );
|
console.log(response?.message?.error?.message,response?.status);
|
||||||
|
toast.error('Approval failed' );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user