diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ChatSidebar/ChatSidebar.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ChatSidebar/ChatSidebar.tsx index ff4278a24d..094cfd9421 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ChatSidebar/ChatSidebar.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ChatSidebar/ChatSidebar.tsx @@ -110,7 +110,7 @@ export function ChatSidebar() { Your chats -
+
diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/MobileDrawer/MobileDrawer.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/MobileDrawer/MobileDrawer.tsx index 74b80ef499..80ccfc9c03 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/MobileDrawer/MobileDrawer.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/MobileDrawer/MobileDrawer.tsx @@ -57,7 +57,7 @@ export function MobileDrawer({ -
+
Your chats @@ -68,7 +68,7 @@ export function MobileDrawer({ aria-label="Close sessions" onClick={onClose} > - +
diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/MorphingTextAnimation/MorphingTextAnimation.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/MorphingTextAnimation/MorphingTextAnimation.tsx index 9fbe3a810e..aac615bb2b 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/MorphingTextAnimation/MorphingTextAnimation.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/MorphingTextAnimation/MorphingTextAnimation.tsx @@ -1,14 +1,16 @@ +import { cn } from "@/lib/utils"; import { AnimatePresence, motion } from "framer-motion"; interface Props { text: string; + className?: string; } -export function MorphingTextAnimation({ text }: Props) { +export function MorphingTextAnimation({ text, className }: Props) { const letters = text.split(""); return ( -
+
diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ToolAccordion/ToolAccordion.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ToolAccordion/ToolAccordion.tsx index 2af67eced9..2e38791c8f 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ToolAccordion/ToolAccordion.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot-2/components/ToolAccordion/ToolAccordion.tsx @@ -1,9 +1,9 @@ "use client"; +import { cn } from "@/lib/utils"; import { CaretDownIcon } from "@phosphor-icons/react"; import { AnimatePresence, motion, useReducedMotion } from "framer-motion"; import { useId } from "react"; -import { cn } from "@/lib/utils"; import { useToolAccordion } from "./useToolAccordion"; interface Props { @@ -36,12 +36,7 @@ export function ToolAccordion({ }); return ( -
+