Compare commits

..

No commits in common. "2cb1ed558a77ff18d301211539239145bad70e2f" and "38593ae03224b5030e6c34236b0e060db2a59e58" have entirely different histories.

1 changed files with 5 additions and 1 deletions

View File

@ -257,7 +257,7 @@ const UploadFileForm = () => {
) : null}
{!hasStarted && !isCompleted && !isUploading ? (
<Button size={"lg"} className="mt-6" onClick={upload} disabled={getFiles().length === 0}>
<Button size={"lg"} className="mt-6" onClick={upload}>
Upload
</Button>
) : null}
@ -265,6 +265,10 @@ const UploadFileForm = () => {
);
};
function bytestoMegabytes(bytes: number) {
return bytes / 1024 / 1024;
}
const UploadFileItem = ({
file,
failedState,