diff --git a/frontend/src/components/shared/FileUploadButton.tsx b/frontend/src/components/shared/FileUploadButton.tsx index da7c3793a..27f58400f 100644 --- a/frontend/src/components/shared/FileUploadButton.tsx +++ b/frontend/src/components/shared/FileUploadButton.tsx @@ -12,9 +12,9 @@ interface FileUploadButtonProps { fullWidth?: boolean; } -const FileUploadButton = ({ - file, - onChange, +const FileUploadButton = ({ + file, + onChange, accept = "*/*", disabled = false, placeholder, @@ -24,7 +24,7 @@ const FileUploadButton = ({ const { t } = useTranslation(); const resetRef = useRef<() => void>(null); - const defaultPlaceholder = t('common.chooseFile', 'Choose File'); + const defaultPlaceholder = t('chooseFile', 'Choose File'); return (