diff --git a/frontend/src/app/components/MessageList.tsx b/frontend/src/app/components/MessageList.tsx index 99f9dcc..466e09d 100644 --- a/frontend/src/app/components/MessageList.tsx +++ b/frontend/src/app/components/MessageList.tsx @@ -17,20 +17,22 @@ export default function MessageList({ messages }: MessageListProps) { {messages.map((msg) => ( - -
- {msg.text} -
-
+ msg.text && ( + +
+ {msg.text} +
+
+ ) ))}
diff --git a/frontend/src/app/conversations/[id]/page.tsx b/frontend/src/app/conversations/[id]/page.tsx index 6712d0f..1ace06e 100644 --- a/frontend/src/app/conversations/[id]/page.tsx +++ b/frontend/src/app/conversations/[id]/page.tsx @@ -230,21 +230,31 @@ export default function ConversationPage({ params }: { params: { id: string } }) return (
-
- {isSidebarOpen && ( - - )} -
- -
-
+ + + + + + )} + +
+
-
+
-
+