From e01127eec94b68f18aeb92d99fe6b2934cb7bd40 Mon Sep 17 00:00:00 2001 From: Henry Li Date: Mon, 2 Feb 2026 14:46:10 +0800 Subject: [PATCH] fix: set default state for todo list collapse to false --- frontend/src/app/workspace/chats/[thread_id]/page.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/app/workspace/chats/[thread_id]/page.tsx b/frontend/src/app/workspace/chats/[thread_id]/page.tsx index 30a4087..2207e87 100644 --- a/frontend/src/app/workspace/chats/[thread_id]/page.tsx +++ b/frontend/src/app/workspace/chats/[thread_id]/page.tsx @@ -168,9 +168,7 @@ export default function ChatPage() { return artifactsOpen; }, [artifactsOpen, artifacts]); - const [todoListCollapsed, setTodoListCollapsed] = useState( - env.NEXT_PUBLIC_STATIC_WEBSITE_ONLY !== "true", - ); + const [todoListCollapsed, setTodoListCollapsed] = useState(false); const handleSubmit = useSubmitThread({ isNewThread,