diff --git a/src/components/Chat/ChatContent/ChatContent.tsx b/src/components/Chat/ChatContent/ChatContent.tsx
index ece04b4..aea9de5 100644
--- a/src/components/Chat/ChatContent/ChatContent.tsx
+++ b/src/components/Chat/ChatContent/ChatContent.tsx
@@ -6,13 +6,15 @@ import ScrollToBottomButton from './ScrollToBottomButton';
import ChatTitle from './ChatTitle';
import Message from './Message';
import NewMessageButton from './Message/NewMessageButton';
+import CrossIcon from '@icon/CrossIcon';
import useSubmit from '@hooks/useSubmit';
const ChatContent = () => {
- const [messages, inputRole] = useStore((state) => [
+ const [messages, inputRole, setError] = useStore((state) => [
state.messages,
state.inputRole,
+ state.setError,
]);
const { handleSubmit, error } = useSubmit();
@@ -39,8 +41,18 @@ const ChatContent = () => {