diff --git a/ui/components/ChatWindow.tsx b/ui/components/ChatWindow.tsx index 34102c6..94f4f00 100644 --- a/ui/components/ChatWindow.tsx +++ b/ui/components/ChatWindow.tsx @@ -152,7 +152,7 @@ const ChatWindow = () => { sendMessage(message.content); }; - return ( + return ws ? (
{messages.length > 0 ? ( <> @@ -173,7 +173,14 @@ const ChatWindow = () => { /> )}
- ); + ) : ( +
+ +
+ ) }; export default ChatWindow;