diff --git a/apps/app/components/issues/form.tsx b/apps/app/components/issues/form.tsx index ddda21ef4..8d9c03463 100644 --- a/apps/app/components/issues/form.tsx +++ b/apps/app/components/issues/form.tsx @@ -167,6 +167,7 @@ export const IssueForm: FC = ({ setValue("description", {}); setValue("description_html", `${watch("description_html")}

${response}

`); + editorRef.current?.setEditorValue(`${watch("description_html")}`); }; const handleAutoGenerateDescription = async () => { @@ -382,7 +383,6 @@ export const IssueForm: FC = ({ htmlContent={watch("description_html")} onResponse={(response) => { handleAiAssistance(response); - editorRef.current?.setEditorValue(`${watch("description_html")}`); }} projectId={projectId} />