removed redundant description_html check

This commit is contained in:
Palanikannan1437 2023-08-19 11:52:33 +05:30
parent aa5c118616
commit ae4ccc65a8

View File

@ -317,9 +317,7 @@ export const CreateUpdateBlockInline: React.FC<Props> = ({
value={
value && value !== "" && Object.keys(value).length > 0
? value
: watch("description_html") && watch("description_html") !== ""
? watch("description_html")
: { type: "doc", content: [{ type: "paragraph" }] }
: { type: "doc", content: [{ type: "paragraph" }] }
}
debouncedUpdatesEnabled={false}
customClassName="text-sm"