mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Rename ChatSidebar to ChatView
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState } from "react"
|
||||
import "./App.css"
|
||||
|
||||
import ChatSidebar from "./components/ChatSidebar"
|
||||
import ChatView from "./components/ChatView"
|
||||
import SettingsView from "./components/SettingsView"
|
||||
import { ExtensionMessage } from "@shared/ExtensionMessage"
|
||||
import WelcomeView from "./components/WelcomeView"
|
||||
@@ -64,7 +64,7 @@ const App: React.FC = () => {
|
||||
onDone={() => setShowSettings(false)}
|
||||
/>
|
||||
) : (
|
||||
<ChatSidebar />
|
||||
<ChatView />
|
||||
)}
|
||||
</>
|
||||
)
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user