chore: remove unused function

This commit is contained in:
Arman committed 2022-11-25 11:54:23 +01:00
1 parent 50242bb66c
commit fa60e14e89
1 file changed
-5
-5
View File
@@ -102,8 +102,3 @@ const createUploader = () => {
};
export const uploader = createUploader();
function calculateProgress(file: Models.File) {
const progress = file.chunksUploaded / file.chunksTotal;
return Math.round(progress * 100);
}