diff --git a/packages/apps/human-app/frontend/src/api/services/worker/assign-job.ts b/packages/apps/human-app/frontend/src/api/services/worker/assign-job.ts index 339b54cf92..99f5e4d3b7 100644 --- a/packages/apps/human-app/frontend/src/api/services/worker/assign-job.ts +++ b/packages/apps/human-app/frontend/src/api/services/worker/assign-job.ts @@ -28,11 +28,11 @@ export function useAssignJobMutation(callbacks?: { mutationFn: assignJob, onSuccess: async () => { await queryClient.invalidateQueries(); - await callbacks?.onSuccess(); + void callbacks?.onSuccess(); }, onError: async (error) => { await queryClient.invalidateQueries(); - await callbacks?.onError(error); + void callbacks?.onError(error); }, }); }