minor: remove unused function

This commit is contained in:
dayuan.jiang
2025-03-27 08:13:26 +00:00
parent 6c8b5c48a2
commit 0a895fda1e

View File

@@ -9,7 +9,6 @@ import {
Send, Send,
RotateCcw, RotateCcw,
Image as ImageIcon, Image as ImageIcon,
X,
History, History,
} from "lucide-react"; } from "lucide-react";
import { ButtonWithTooltip } from "@/components/button-with-tooltip"; 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 // Trigger file input click
const triggerFileInput = () => { const triggerFileInput = () => {
fileInputRef.current?.click(); fileInputRef.current?.click();