From 0a895fda1e6aee6a7f34ce728795df9225fd8ad3 Mon Sep 17 00:00:00 2001 From: "dayuan.jiang" Date: Thu, 27 Mar 2025 08:13:26 +0000 Subject: [PATCH] minor: remove unused function --- components/chat-input.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/chat-input.tsx b/components/chat-input.tsx index b14a279..d0cce3c 100644 --- a/components/chat-input.tsx +++ b/components/chat-input.tsx @@ -9,7 +9,6 @@ import { Send, RotateCcw, Image as ImageIcon, - X, History, } from "lucide-react"; import { ButtonWithTooltip } from "@/components/button-with-tooltip"; @@ -84,14 +83,6 @@ export function ChatInput({ } }; - // Clear all files - const clearFiles = () => { - if (fileInputRef.current) { - fileInputRef.current.value = ""; - } - onFileChange([]); - }; - // Trigger file input click const triggerFileInput = () => { fileInputRef.current?.click();