mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-21 05:14:45 +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;
|
return artifactsOpen;
|
||||||
}, [artifactsOpen, artifacts]);
|
}, [artifactsOpen, artifacts]);
|
||||||
|
|
||||||
const [todoListCollapsed, setTodoListCollapsed] = useState(
|
const [todoListCollapsed, setTodoListCollapsed] = useState(false);
|
||||||
env.NEXT_PUBLIC_STATIC_WEBSITE_ONLY !== "true",
|
|
||||||
);
|
|
||||||
|
|
||||||
const handleSubmit = useSubmitThread({
|
const handleSubmit = useSubmitThread({
|
||||||
isNewThread,
|
isNewThread,
|
||||||
|
|||||||
Reference in New Issue
Block a user