feat: 删除不需要的TodoList组件
This commit is contained in:
parent
eceeecf4b8
commit
bf8f36756b
|
|
@ -20,7 +20,7 @@ import {
|
|||
useArtifacts,
|
||||
} from "@/components/workspace/artifacts";
|
||||
import { useThreadChat } from "@/components/workspace/chats";
|
||||
import { DevTodoList } from "@/components/workspace/dev-todo-list";
|
||||
// import { DevTodoList } from "@/components/workspace/dev-todo-list";
|
||||
import { InputBox } from "@/components/workspace/input-box";
|
||||
import { MessageList } from "@/components/workspace/messages";
|
||||
import { ThreadContext } from "@/components/workspace/messages/context";
|
||||
|
|
@ -267,7 +267,8 @@ export default function ChatPage() {
|
|||
)}
|
||||
</div>
|
||||
<div className="flex items-center justify-end gap-2 overflow-hidden">
|
||||
<DevTodoList
|
||||
{/* 取消TodoList */}
|
||||
{/* <DevTodoList
|
||||
className="bg-white"
|
||||
todos={thread.values.todos ?? []}
|
||||
hidden={
|
||||
|
|
@ -282,7 +283,7 @@ export default function ChatPage() {
|
|||
<ListTodoIcon className="size-4" /> To-dos
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
/> */}
|
||||
|
||||
{artifacts?.length > 0 && !artifactsOpen && (
|
||||
<Tooltip content="点击可查看生成的文件结果">
|
||||
|
|
|
|||
Loading…
Reference in New Issue