Skip to content

Commit

Permalink
SonarCloud errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TamiTakamiya committed Nov 22, 2024
1 parent 23f84fd commit 5cc0d45
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,14 @@ export const useChatbot = () => {
timestamp: getTimestamp(),
actions: {
positive: {
onClick: async () => await sendFeedback(Sentiment.THUMBS_UP),
onClick: async () => {
sendFeedback(Sentiment.THUMBS_UP);
},
},
negative: {
onClick: async () => await sendFeedback(Sentiment.THUMBS_DOWN),
onClick: async () => {
sendFeedback(Sentiment.THUMBS_DOWN);
},
},
},
};
Expand Down

0 comments on commit 5cc0d45

Please sign in to comment.