From 87cef82e8db7d13283947b0aae607e8b517751ab Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Mon, 18 Aug 2025 15:51:01 +0100 Subject: [PATCH] LAng fix --- frontend/src/components/shared/FileUploadButton.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 (