Skip to content

Commit

Permalink
fix prettier build
Browse files Browse the repository at this point in the history
  • Loading branch information
justjais committed Dec 9, 2024
1 parent 5aebacd commit ef46db6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,10 @@ export const useChatbot = () => {
if (message.actions) {
message.actions.copy.isDisabled = true;
message.actions.negative.className = "action-button-clicked";
navigator.clipboard.writeText(typeof response === "object" ? response.response : response);
navigator.clipboard.writeText(
typeof response === "object" ? response.response : response,
);
}

},
},
};
Expand Down

0 comments on commit ef46db6

Please sign in to comment.