diff --git a/demos/src/GuideContent/ExportHTML/React/index.jsx b/demos/src/GuideContent/ExportHTML/React/index.jsx index ed6f333db67..30dc671c106 100644 --- a/demos/src/GuideContent/ExportHTML/React/index.jsx +++ b/demos/src/GuideContent/ExportHTML/React/index.jsx @@ -16,7 +16,7 @@ export default () => { useEffect(() => { if (!editor) { - return null + return undefined } // Get the initial content … diff --git a/demos/src/GuideContent/ExportJSON/React/index.jsx b/demos/src/GuideContent/ExportJSON/React/index.jsx index b452258fa5d..c8888b39bc1 100644 --- a/demos/src/GuideContent/ExportJSON/React/index.jsx +++ b/demos/src/GuideContent/ExportJSON/React/index.jsx @@ -16,7 +16,7 @@ export default () => { useEffect(() => { if (!editor) { - return null + return undefined } // Get the initial content … diff --git a/demos/src/GuideContent/ReadOnly/React/index.jsx b/demos/src/GuideContent/ReadOnly/React/index.jsx index 3d2dccfc771..b5417585caa 100644 --- a/demos/src/GuideContent/ReadOnly/React/index.jsx +++ b/demos/src/GuideContent/ReadOnly/React/index.jsx @@ -20,7 +20,7 @@ export default () => { useEffect(() => { if (!editor) { - return null + return undefined } editor.setEditable(editable)