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 5578002 commit 058b31c
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 058b31c

Please sign in to comment.