fix: undefined block content (#854)
This commit is contained in:
parent
6de54089cd
commit
600fedd5ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue