diff --git a/core-web/libs/sdk/react/src/lib/components/DotEditableText/DotEditableText.tsx b/core-web/libs/sdk/react/src/lib/components/DotEditableText/DotEditableText.tsx index 034b81756d13..5799e525fe15 100644 --- a/core-web/libs/sdk/react/src/lib/components/DotEditableText/DotEditableText.tsx +++ b/core-web/libs/sdk/react/src/lib/components/DotEditableText/DotEditableText.tsx @@ -43,8 +43,7 @@ export function DotEditableText({ const content = contentlet?.[fieldName] || ''; editorRef.current?.setContent(content, { format }); setContent(content); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [format, contentlet?.[fieldName]]); + }, [format, fieldName, contentlet?.[fieldName]]); useEffect(() => { if (!isInsideEditorFn()) {