From 1fd0300afa3732c4e08971d28becedb490c7fe9a Mon Sep 17 00:00:00 2001 From: "claude[bot]" <209825114+claude[bot]@users.noreply.github.com> Date: Mon, 4 Aug 2025 17:39:56 +0000 Subject: [PATCH] Remove document upload button Comment out document upload button code block while preserving image upload functionality as requested in issue #173. Button will be re-added later. Fixes #173 Co-authored-by: Anthony --- frontend/src/components/ChatBox.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/ChatBox.tsx b/frontend/src/components/ChatBox.tsx index cf9ba1826..f1135fb59 100644 --- a/frontend/src/components/ChatBox.tsx +++ b/frontend/src/components/ChatBox.tsx @@ -945,17 +945,16 @@ export default function Component({ )} + {/* Document upload temporarily removed - will be re-added later { e.preventDefault(); // Temporarily disabled - remove this condition when re-enabling - /* - if (!canUseDocuments) { - navigate({ to: "/pricing" }); - } else { - documentInputRef.current?.click(); - } - */ + // if (!canUseDocuments) { + // navigate({ to: "/pricing" }); + // } else { + // documentInputRef.current?.click(); + // } }} className={cn("flex items-center gap-2 cursor-not-allowed opacity-50")} disabled @@ -966,6 +965,7 @@ export default function Component({ Temporarily Unavailable + */} )}