forked from github/plane
fix: undefined block content (#854)
This commit is contained in:
parent
6de54089cd
commit
600fedd5ba
@ -168,7 +168,7 @@ export const CreateUpdateBlockInline: React.FC<Props> = ({
|
||||
});
|
||||
else {
|
||||
setValue("description", {});
|
||||
setValue("description_html", `${watch("description_html")}<p>${res.response}</p>`);
|
||||
setValue("description_html", `${watch("description_html") ?? ""}<p>${res.response}</p>`);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
Loading…
Reference in New Issue
Block a user