fix: set default state for todo list collapse to false
This commit is contained in:
parent
26acd6f3ad
commit
e01127eec9
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue