fix: Avoid File import issue with icon

This commit is contained in:
Eric Hare 2025-11-19 15:16:45 -08:00
parent a674dfcf95
commit ba8c034eb2
No known key found for this signature in database
GPG key ID: A73DF73724270AB7

View file

@ -4,7 +4,7 @@ import { useQueryClient } from "@tanstack/react-query";
import { import {
ChevronDown, ChevronDown,
Cloud, Cloud,
File, File as FileIcon,
Folder, Folder,
FolderOpen, FolderOpen,
Loader2, Loader2,
@ -439,7 +439,7 @@ export function KnowledgeDropdown() {
{ {
label: "File", label: "File",
icon: ({ className }: { className?: string }) => ( icon: ({ className }: { className?: string }) => (
<File className={cn(className, "text-muted-foreground")} /> <FileIcon className={cn(className, "text-muted-foreground")} />
), ),
onClick: handleFileUpload, onClick: handleFileUpload,
}, },