diff --git a/client/src/components/jobs-documents-gallery/jobs-document-gallery.download.component.jsx b/client/src/components/jobs-documents-gallery/jobs-document-gallery.download.component.jsx index 5f63fe12c..957fe3344 100644 --- a/client/src/components/jobs-documents-gallery/jobs-document-gallery.download.component.jsx +++ b/client/src/components/jobs-documents-gallery/jobs-document-gallery.download.component.jsx @@ -142,20 +142,3 @@ export function JobsDocumentsDownloadButton({ ); } - -const downloadAs = (url, name, onDownloadProgress, onCompleted) => { - cleanAxios - .get(url, { - headers: { - "Content-Type": "application/octet-stream", - }, - responseType: "blob", - onDownloadProgress: onDownloadProgress, - }) - .then((response) => { - onCompleted && onCompleted(); - }) - .catch((err) => { - console.log("error", err); - }); -};