diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 254269656..a0b7af2f9 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 @@