diff --git a/web/components/chat/ChatContainer.tsx b/web/components/chat/ChatContainer.tsx index 0871d3617..f8c37594b 100644 --- a/web/components/chat/ChatContainer.tsx +++ b/web/components/chat/ChatContainer.tsx @@ -17,11 +17,9 @@ export default function ChatContainer(props: Props) { const chatContainerRef = useRef(null); return ( -
+
- { + console.log({ value }); + }, [value]); + + return ( +
+ + setValue(e.target.value)} + size={size} + placeholder="Enter text and hit enter!" + /> + + +
+ ); +} diff --git a/web/components/layouts/Main.tsx b/web/components/layouts/Main.tsx index 4c5d64040..492527e18 100644 --- a/web/components/layouts/Main.tsx +++ b/web/components/layouts/Main.tsx @@ -1,7 +1,7 @@ import { Layout } from 'antd'; import { ServerStatusStore } from '../stores/ServerStatusStore'; import { ClientConfigStore } from '../stores/ClientConfigStore'; -import { Content, Footer, Header, Sidebar } from '../ui'; +import { Content, Header } from '../ui'; function Main() { return ( @@ -9,12 +9,8 @@ function Main() { -
- - -