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