From 3e5bd25c6e51a235968c8d6a8a121d5036b2fae3 Mon Sep 17 00:00:00 2001 From: HeetVekariya Date: Sun, 15 Oct 2023 08:47:55 +0530 Subject: [PATCH] fix: removed items-center from conversationBubble.tsx --- frontend/src/conversation/Conversation.tsx | 3 +-- frontend/src/conversation/ConversationBubble.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index c3db35d9..87a5ebb7 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -95,13 +95,12 @@ export default function Conversation() { > ); } else if (query.response) { - const trimmedResponse = query.response.trim(); responseView = ( 0 ? trimmedResponse : 'No answer found.'} + message={query.response} type={'ANSWER'} sources={query.sources} feedback={query.feedback} diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index aba7c63b..c3b81f92 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -74,7 +74,7 @@ const ConversationBubble = forwardRef<