diff --git a/app/src/components/Upload/Body.tsx b/app/src/components/Upload/Body.tsx index e9aee759..2fea22d8 100644 --- a/app/src/components/Upload/Body.tsx +++ b/app/src/components/Upload/Body.tsx @@ -7,16 +7,18 @@ import { useUploadContext } from './UploadContext' const UploadBody = forwardRef>( ({ children, className, ...props }, ref: Ref) => { const { options, horizontal } = useUploadContext() - const { getRootProps, getInputProps } = useDropzone(options) + const { getRootProps, getInputProps, isDragActive, isDragReject } = useDropzone(options) return (
diff --git a/app/src/components/Upload/Icon.tsx b/app/src/components/Upload/Icon.tsx index 22ba2581..fef2145b 100644 --- a/app/src/components/Upload/Icon.tsx +++ b/app/src/components/Upload/Icon.tsx @@ -7,10 +7,7 @@ const UploadIcon = forwardRef>( return (
{children}