mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
chore: remove unused function
This commit is contained in:
1 parent
50242bb66c
commit
fa60e14e89
1 file changed
-5
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user