From 10610db63eda491ed61f4c4c33bf5d61b71b2f11 Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Thu, 28 Mar 2024 10:04:31 +0100 Subject: [PATCH] fix: cannot upload if there are no files --- app/components/general-layout.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/components/general-layout.tsx b/app/components/general-layout.tsx index 25af46f..9b23aac 100644 --- a/app/components/general-layout.tsx +++ b/app/components/general-layout.tsx @@ -257,7 +257,7 @@ const UploadFileForm = () => { ) : null} {!hasStarted && !isCompleted && !isUploading ? ( - ) : null} @@ -265,10 +265,6 @@ const UploadFileForm = () => { ); }; -function bytestoMegabytes(bytes: number) { - return bytes / 1024 / 1024; -} - const UploadFileItem = ({ file, failedState,