diff --git a/app/components/general-layout.tsx b/app/components/general-layout.tsx index 2afff41..25af46f 100644 --- a/app/components/general-layout.tsx +++ b/app/components/general-layout.tsx @@ -45,6 +45,7 @@ import { TooltipTrigger, TooltipProvider, } from "./ui/tooltip"; +import filesize from "./lib/filesize"; export const GeneralLayout = ({ children }: React.PropsWithChildren) => { const location = useLocation(); @@ -223,7 +224,7 @@ const UploadFileForm = () => { /> ))} - + {hasErrored ? (
An error occurred
@@ -277,7 +278,6 @@ const UploadFileItem = ({ failedState?: FailedUppyFile- {file.name} ({sizeInMb}MB) + {file.name} ({filesize(file.size, 2)})