Compare commits
2 Commits
38593ae032
...
2cb1ed558a
Author | SHA1 | Date |
---|---|---|
Juan Di Toro | 2cb1ed558a | |
Juan Di Toro | 10610db63e |
|
@ -257,7 +257,7 @@ const UploadFileForm = () => {
|
|||
) : null}
|
||||
|
||||
{!hasStarted && !isCompleted && !isUploading ? (
|
||||
<Button size={"lg"} className="mt-6" onClick={upload}>
|
||||
<Button size={"lg"} className="mt-6" onClick={upload} disabled={getFiles().length === 0}>
|
||||
Upload
|
||||
</Button>
|
||||
) : null}
|
||||
|
@ -265,10 +265,6 @@ const UploadFileForm = () => {
|
|||
);
|
||||
};
|
||||
|
||||
function bytestoMegabytes(bytes: number) {
|
||||
return bytes / 1024 / 1024;
|
||||
}
|
||||
|
||||
const UploadFileItem = ({
|
||||
file,
|
||||
failedState,
|
||||
|
|
Loading…
Reference in New Issue