fix: ai response not comming for page (#1087)

This commit is contained in:
Dakshesh Jain 2023-05-19 19:12:34 +05:30 committed by GitHub
parent ddeafc0695
commit 2e4f936dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,6 +369,7 @@ export const CreateUpdateBlockInline: React.FC<Props> = ({
else {
setValue("description", {});
setValue("description_html", `${watch("description_html")}<p>${response}</p>`);
editorRef.current?.setEditorValue(watch("description_html") ?? "");
}
}}
projectId={projectId?.toString() ?? ""}