diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 25426965..a0b7af2f 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -40,7 +40,7 @@ let edit = false; let editedContent = ''; - + let editElement: HTMLTextAreaElement; let tooltipInstance = null; let sentencesAudio = {}; @@ -247,7 +247,6 @@ editedContent = message.content; await tick(); - const editElement = document.getElementById(`message-edit-${message.id}`); editElement.style.height = ''; editElement.style.height = `${editElement.scrollHeight}px`; @@ -341,6 +340,7 @@