Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs committed Oct 25, 2024
1 parent b0d0f0c commit 5510d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/api/useBulkOperationDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ export const useBulkOperationDetails = ({
showErrorMessage(response);

if (response.status === JOB_STATUSES.FAILED || response?.errorMessage) {
clearIntervalAndRedirect('/bulk-edit', '');
clearInterval();
}

return response;
} catch (e) {
showErrorMessage(e);
clearIntervalAndRedirect('/bulk-edit', '');
clearInterval();

return e;
}
Expand Down

0 comments on commit 5510d94

Please sign in to comment.