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,
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();