mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-05-02 17:07:13 +00:00
remove mark as bad feedback
This commit is contained in:
parent
8658b1e7c7
commit
d94720f31a
1 changed files with 7 additions and 16 deletions
|
@ -51,22 +51,13 @@ const Actions = ({
|
|||
/>
|
||||
)}
|
||||
{chatId && role !== "user" && !isEditing && (
|
||||
<>
|
||||
<FeedbackButton
|
||||
isSelected={selectedFeedback === true}
|
||||
handleFeedback={() => handleFeedback(true)}
|
||||
tooltipId={`${chatId}-thumbs-up`}
|
||||
tooltipContent="Good response"
|
||||
IconComponent={ThumbsUp}
|
||||
/>
|
||||
<FeedbackButton
|
||||
isSelected={selectedFeedback === false}
|
||||
handleFeedback={() => handleFeedback(false)}
|
||||
tooltipId={`${chatId}-thumbs-down`}
|
||||
tooltipContent="Bad response"
|
||||
IconComponent={ThumbsDown}
|
||||
/>
|
||||
</>
|
||||
<FeedbackButton
|
||||
isSelected={selectedFeedback === true}
|
||||
handleFeedback={() => handleFeedback(true)}
|
||||
tooltipId={`${chatId}-thumbs-up`}
|
||||
tooltipContent="Good response"
|
||||
IconComponent={ThumbsUp}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<TTSMessage slug={slug} chatId={chatId} message={message} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue