diff --git a/web/components/chat/ChatTextField/ChatTextField.tsx b/web/components/chat/ChatTextField/ChatTextField.tsx index 8c7d9702f..2ce05d617 100644 --- a/web/components/chat/ChatTextField/ChatTextField.tsx +++ b/web/components/chat/ChatTextField/ChatTextField.tsx @@ -104,16 +104,6 @@ export default function ChatTextField(props: Props) { const [editor] = useState(() => withImages(withReact(createEditor()))); const size = 'small'; - const EMPTY_VALUE = [ - { - type: 'paragraph', - children: [ - { - text: '', - }, - ], - }, - ]; const sendMessage = () => { if (!websocketService) { @@ -154,11 +144,7 @@ export default function ChatTextField(props: Props) { return (
- + } diff --git a/web/components/ui/Sidebar/Sidebar.tsx b/web/components/ui/Sidebar/Sidebar.tsx index 39f921ac2..1baabc17f 100644 --- a/web/components/ui/Sidebar/Sidebar.tsx +++ b/web/components/ui/Sidebar/Sidebar.tsx @@ -26,8 +26,8 @@ export default function Sidebar() {
stream chat
- - + + ); }