fix: bad hash progress calc

This commit is contained in:
Derrick Hammer 2024-03-28 20:38:31 -04:00
parent 5176de0113
commit ff9a14a8b5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ export function useUppy() {
uppyInstance.current?.emit("preprocess-progress", file, {
mode: "determinate",
message: "Hashing file...",
value: Math.round((event.total / event.total) * 100),
value: Math.round((event.bytes / event.total) * 100),
});
};
const options = await sdk.protocols!()