diff --git a/components/ChatSection/ChatList/index.tsx b/components/ChatSection/ChatList/index.tsx index 329526a..95f6bb9 100644 --- a/components/ChatSection/ChatList/index.tsx +++ b/components/ChatSection/ChatList/index.tsx @@ -25,6 +25,7 @@ const ChatList: React.FC = () => { tip: t("content-deleted") as string, btn: t("undo") as string, }); + const scrollToBottom = useScrollToBottom(); const onDelete = (item: ChatItem) => { diff --git a/components/Prompt/index.tsx b/components/Prompt/index.tsx new file mode 100644 index 0000000..46da852 --- /dev/null +++ b/components/Prompt/index.tsx @@ -0,0 +1,7 @@ +import * as React from "react"; + +const Propmpt: React.FC = () => { + return