diff --git a/frontend/src/components/fileEditor/AddFileCard.tsx b/frontend/src/components/fileEditor/AddFileCard.tsx index dbc319c68..a873b7211 100644 --- a/frontend/src/components/fileEditor/AddFileCard.tsx +++ b/frontend/src/components/fileEditor/AddFileCard.tsx @@ -15,7 +15,7 @@ interface AddFileCardProps { const AddFileCard = ({ onFileSelect, - accept = "*/*", + accept, multiple = true }: AddFileCardProps) => { const { t } = useTranslation(); diff --git a/frontend/src/components/shared/FileUploadButton.tsx b/frontend/src/components/shared/FileUploadButton.tsx index f09cc19d0..85c3d5817 100644 --- a/frontend/src/components/shared/FileUploadButton.tsx +++ b/frontend/src/components/shared/FileUploadButton.tsx @@ -15,7 +15,7 @@ interface FileUploadButtonProps { const FileUploadButton = ({ file, onChange, - accept = "*/*", + accept, disabled = false, placeholder, variant = "outline", diff --git a/frontend/src/components/shared/LandingPage.tsx b/frontend/src/components/shared/LandingPage.tsx index 5f1fe8d8e..293efc1b4 100644 --- a/frontend/src/components/shared/LandingPage.tsx +++ b/frontend/src/components/shared/LandingPage.tsx @@ -41,7 +41,6 @@ const LandingPage = () => { {/* White PDF Page Background */} { ref={fileInputRef} type="file" multiple - accept="*/*" onChange={handleFileSelect} style={{ display: 'none' }} />