fix: bad hash progress calc
This commit is contained in:
parent
5176de0113
commit
ff9a14a8b5
|
@ -108,7 +108,7 @@ export function useUppy() {
|
||||||
uppyInstance.current?.emit("preprocess-progress", file, {
|
uppyInstance.current?.emit("preprocess-progress", file, {
|
||||||
mode: "determinate",
|
mode: "determinate",
|
||||||
message: "Hashing file...",
|
message: "Hashing file...",
|
||||||
value: Math.round((event.total / event.total) * 100),
|
value: Math.round((event.bytes / event.total) * 100),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const options = await sdk.protocols!()
|
const options = await sdk.protocols!()
|
||||||
|
|
Loading…
Reference in New Issue