diff --git a/src/components/popups/popupOption/component.tsx b/src/components/popups/popupOption/component.tsx index 8eb6a10b..55b1f85b 100644 --- a/src/components/popups/popupOption/component.tsx +++ b/src/components/popups/popupOption/component.tsx @@ -183,16 +183,6 @@ class PopupOption extends React.Component { this.props.handleMenuMode("assistant"); this.props.handleOpenMenu(true); - setTimeout(() => { - let textAreaElement = document.querySelector( - "#trans-add-content-box" - ) as HTMLTextAreaElement; - console.log(textAreaElement, "textAreaElement"); - if (textAreaElement) { - textAreaElement.value = text; - textAreaElement.dispatchEvent(new Event("input", { bubbles: true })); - } - }, 1000); }; handleOpenPopupOptionDialog = () => {