Skip to content

Commit

Permalink
logging thumb feedback fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
zarSou9 committed Jun 8, 2024
1 parent e5cb567 commit 2d19858
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/Feedback/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const Feedback = ({
hint={upHint}
setVoted={setVoted}
onClick={() => {
if (pageid === 'chatbot') onSubmit('Helpful', undefined)
setShowThanks(true)
}}
/>
Expand All @@ -74,6 +75,7 @@ const Feedback = ({
disabled={voted}
setVoted={setVoted}
onClick={() => {
if (pageid === 'chatbot') onSubmit('Unhelpful', undefined)
if (!showForm) setShowThanks(true)
setShowFeedbackForm(!!showForm)
}}
Expand Down

0 comments on commit 2d19858

Please sign in to comment.