From ae4ccc65a84b90f2b6f670d9e22fd509e919ac0d Mon Sep 17 00:00:00 2001 From: Palanikannan1437 <73993394+Palanikannan1437@users.noreply.github.com> Date: Sat, 19 Aug 2023 11:52:33 +0530 Subject: [PATCH] removed redundant description_html check --- apps/app/components/pages/create-update-block-inline.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/app/components/pages/create-update-block-inline.tsx b/apps/app/components/pages/create-update-block-inline.tsx index c1b3fed7d..3e0f604a3 100644 --- a/apps/app/components/pages/create-update-block-inline.tsx +++ b/apps/app/components/pages/create-update-block-inline.tsx @@ -317,9 +317,7 @@ export const CreateUpdateBlockInline: React.FC = ({ 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"