diff --git a/src/common/components/fileUpload/FileUpload.tsx b/src/common/components/fileUpload/FileUpload.tsx index 9abf96652..7368bcf54 100644 --- a/src/common/components/fileUpload/FileUpload.tsx +++ b/src/common/components/fileUpload/FileUpload.tsx @@ -33,10 +33,10 @@ function useDragAndDropFiles() { function SuccessNotification({ successfulCount, totalCount, -}: { +}: Readonly<{ successfulCount: number; totalCount: number; -}) { +}>) { const { t } = useTranslation(); return ( @@ -81,7 +81,7 @@ export default function FileUpload({ existingAttachments = [], uploadFunction, onUpload, -}: Props) { +}: Readonly>) { const { t } = useTranslation(); const locale = useLocale(); const [newFiles, setNewFiles] = useState([]);