From a2a3f7d8933f47a11df4cd58d90ca409c3bcda28 Mon Sep 17 00:00:00 2001
From: sauravniraula
Date: Thu, 15 May 2025 14:21:05 +0545
Subject: [PATCH] Changes: Temporarily removes image support
---
.../upload/components/SupportingDoc.tsx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/servers/nextjs/app/(presentation-generator)/upload/components/SupportingDoc.tsx b/servers/nextjs/app/(presentation-generator)/upload/components/SupportingDoc.tsx
index c95c4671..26c65bf0 100644
--- a/servers/nextjs/app/(presentation-generator)/upload/components/SupportingDoc.tsx
+++ b/servers/nextjs/app/(presentation-generator)/upload/components/SupportingDoc.tsx
@@ -52,10 +52,10 @@ const SupportingDoc = ({ files, onFilesChange }: SupportingDocProps) => {
const validFiles = droppedFiles.filter(file => {
const validTypes = [
'application/pdf',
- 'image/webp',
- 'image/png',
- 'image/x-raw',
- 'image/jpeg',
+ // 'image/webp',
+ // 'image/png',
+ // 'image/x-raw',
+ // 'image/jpeg',
'text/plain',
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
@@ -140,7 +140,7 @@ const SupportingDoc = ({ files, onFilesChange }: SupportingDocProps) => {
}
- Supports PDFs, Images (.webp, .png, .raw, .jpeg), Text files, PPTX, DOCX
+ Supports PDFs, Text files, PPTX, DOCX