diff --git a/frontend/src/components/core/DropzoneField.tsx b/frontend/src/components/core/DropzoneField.tsx index c55b26c73a..03096c029d 100644 --- a/frontend/src/components/core/DropzoneField.tsx +++ b/frontend/src/components/core/DropzoneField.tsx @@ -44,8 +44,8 @@ export function DropzoneField({ const { getRootProps, getInputProps, acceptedFiles } = useDropzone({ disabled: loading, - accept: - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' as unknown as Accept, + //@ts-ignore + accept: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', onDrop, }); const acceptedFilename = diff --git a/frontend/src/components/rdi/create/RegistrationDataImportCreateDialog.tsx b/frontend/src/components/rdi/create/RegistrationDataImportCreateDialog.tsx index 5bd7fc2771..98e97485f8 100644 --- a/frontend/src/components/rdi/create/RegistrationDataImportCreateDialog.tsx +++ b/frontend/src/components/rdi/create/RegistrationDataImportCreateDialog.tsx @@ -1,5 +1,6 @@ /* eslint-disable react-hooks/exhaustive-deps */ import { + Box, Button, DialogContent, DialogTitle, @@ -110,9 +111,13 @@ export function RegistrationDataImportCreateDialog(): React.ReactElement { - {t('Import From')} + + {t('Import From')} + - {importTypeForm} + {importTypeForm}