diff --git a/web/src/app/admin/assistants/AssistantEditor.tsx b/web/src/app/admin/assistants/AssistantEditor.tsx index b8ac215b672..51c2cb4c3ed 100644 --- a/web/src/app/admin/assistants/AssistantEditor.tsx +++ b/web/src/app/admin/assistants/AssistantEditor.tsx @@ -3,7 +3,6 @@ import { generateRandomIconShape, createSVG } from "@/lib/assistantIconUtils"; import { CCPairBasicInfo, DocumentSet, User } from "@/lib/types"; -import Italic from "@/components/ui/italic"; import { Separator } from "@/components/ui/separator"; import { Button } from "@/components/ui/button"; import { IsPublicGroupSelector } from "@/components/IsPublicGroupSelector"; diff --git a/web/src/components/ui/button.tsx b/web/src/components/ui/button.tsx index f532505cad6..26aef377d61 100644 --- a/web/src/components/ui/button.tsx +++ b/web/src/components/ui/button.tsx @@ -76,6 +76,8 @@ export interface ButtonProps asChild?: boolean; icon?: React.ElementType; tooltip?: string; + variant?: string; + size?: string; reverse?: boolean; } @@ -83,7 +85,7 @@ const Button = React.forwardRef( ( { className, - variant, + variant = "default", size = "sm", asChild = false, icon: Icon,