fix: Avoid File import issue with icon
This commit is contained in:
parent
a674dfcf95
commit
ba8c034eb2
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue