mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 14:22:13 +08:00
fix: set default state for todo list collapse to false
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user