Rename ChatSidebar to ChatView

This commit is contained in:
Saoud Rizwan
2024-07-07 11:36:02 -04:00
parent 56bafe9f59
commit 21203e836b
2 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ interface Message {
sender: "user" | "assistant"
}
const ChatSidebar = () => {
const ChatView = () => {
const [messages, setMessages] = useState<Message[]>([])
const [inputValue, setInputValue] = useState("")
const messagesEndRef = useRef<HTMLDivElement>(null)
@@ -130,4 +130,4 @@ const ChatSidebar = () => {
)
}
export default ChatSidebar
export default ChatView