Skip to content

Commit

Permalink
[Obs AI Assistant] Remove commented code (elastic#181216)
Browse files Browse the repository at this point in the history
  • Loading branch information
viduni94 committed Oct 9, 2024
1 parent f3632c5 commit c8c43de
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,6 @@ export function ChatBody({
}
});

// const handleCopyConversation = () => {
// const content = JSON.stringify({
// title: initialTitle,
// messages: conversation.value?.messages ?? messages,
// });

// navigator.clipboard?.writeText(content || '');
// };

const handleCopyConversation = () => {
const deserializeMessage = (message: Message): Message => {
const copiedMessage = cloneDeep(message);
Expand Down

0 comments on commit c8c43de

Please sign in to comment.