From d94720f31a0f5cee0c78a778448eb4dae73d7e6f Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Wed, 3 Jul 2024 18:29:20 -0700 Subject: [PATCH] remove mark as bad feedback --- .../HistoricalMessage/Actions/index.jsx | 23 ++++++------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/index.jsx index abe1f00e..ba3510ab 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/index.jsx +++ b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/index.jsx @@ -51,22 +51,13 @@ const Actions = ({ /> )} {chatId && role !== "user" && !isEditing && ( - <> - handleFeedback(true)} - tooltipId={`${chatId}-thumbs-up`} - tooltipContent="Good response" - IconComponent={ThumbsUp} - /> - handleFeedback(false)} - tooltipId={`${chatId}-thumbs-down`} - tooltipContent="Bad response" - IconComponent={ThumbsDown} - /> - + handleFeedback(true)} + tooltipId={`${chatId}-thumbs-up`} + tooltipContent="Good response" + IconComponent={ThumbsUp} + /> )}