From d4d663de3857eb96839539a929171bfa35d6881a Mon Sep 17 00:00:00 2001 From: ajaythapliyal Date: Sun, 5 Mar 2023 22:50:24 +0530 Subject: [PATCH] feedback UI --- frontend/src/conversation/ConversationBubble.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index a68d209c..987d97c8 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { forwardRef, useState } from 'react'; import Avatar from '../Avatar'; import { MESSAGE_TYPE } from './conversationModels'; @@ -15,7 +14,6 @@ const ConversationBubble = forwardRef< } >(function ConversationBubble({ message, type, className }, ref) { const [showFeedback, setShowFeedback] = useState(false); - let bubble; if (type === 'QUESTION') { bubble = ( @@ -49,14 +47,14 @@ const ConversationBubble = forwardRef<