Skip to content

Commit

Permalink
fix: fixed the validation logic of the insurance form
Browse files Browse the repository at this point in the history
  • Loading branch information
syedfardeenjeelani committed Oct 12, 2024
1 parent 983b154 commit 3059959
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Redux/fireRequest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ export const fireRequest = (
// 400 Bad Request Error
if (error.response.status === 400 || error.response.status === 406) {
console.log(error.response.data.detaillocal_ip_address);
// Notification.BadRequest({
// errs: error.response.data,
// });
// return error.response;
Notification.BadRequest({
errs: error.response.data,
});
return error.response;
}

// 4xx Errors
Expand Down

0 comments on commit 3059959

Please sign in to comment.