diff --git a/webview-ui/src/App.tsx b/webview-ui/src/App.tsx index acd50b7..18c5cb0 100644 --- a/webview-ui/src/App.tsx +++ b/webview-ui/src/App.tsx @@ -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)} /> ) : ( - + )} ) diff --git a/webview-ui/src/components/ChatSidebar.tsx b/webview-ui/src/components/ChatView.tsx similarity index 98% rename from webview-ui/src/components/ChatSidebar.tsx rename to webview-ui/src/components/ChatView.tsx index e9191e4..685b627 100644 --- a/webview-ui/src/components/ChatSidebar.tsx +++ b/webview-ui/src/components/ChatView.tsx @@ -10,7 +10,7 @@ interface Message { sender: "user" | "assistant" } -const ChatSidebar = () => { +const ChatView = () => { const [messages, setMessages] = useState([]) const [inputValue, setInputValue] = useState("") const messagesEndRef = useRef(null) @@ -130,4 +130,4 @@ const ChatSidebar = () => { ) } -export default ChatSidebar +export default ChatView