mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 06:09:23 +00:00
LAng fix
This commit is contained in:
parent
1aba580a96
commit
87cef82e8d
@ -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 (
|
||||
<FileButton
|
||||
@ -42,4 +42,4 @@ const FileUploadButton = ({
|
||||
);
|
||||
};
|
||||
|
||||
export default FileUploadButton;
|
||||
export default FileUploadButton;
|
||||
|
Loading…
x
Reference in New Issue
Block a user