diff --git a/src/components/thread/history/index.tsx b/src/components/thread/history/index.tsx index 7d0fbec..cb23a7b 100644 --- a/src/components/thread/history/index.tsx +++ b/src/components/thread/history/index.tsx @@ -12,7 +12,6 @@ import { SheetTitle, } from "@/components/ui/sheet"; import { Skeleton } from "@/components/ui/skeleton"; -import { cn } from "@/lib/utils"; import { PanelRightOpen } from "lucide-react"; import { useMediaQuery } from "@/hooks/useMediaQuery"; diff --git a/src/components/thread/index.tsx b/src/components/thread/index.tsx index cadecf5..2107630 100644 --- a/src/components/thread/index.tsx +++ b/src/components/thread/index.tsx @@ -211,7 +211,7 @@ export function Thread() { } > {!chatStarted && ( -
+
{(!chatHistoryOpen || !isLargeScreen) && ( - )} - + )} +
+ setThreadId(null)} + animate={{ + marginLeft: !chatHistoryOpen ? 48 : 0, + }} + transition={{ + type: "spring", + stiffness: 300, + damping: 30, + }} > LangGraph Chat - +