Yuki Takei hace 4 años
padre
commit
336f6b4ccf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/components/PageEditor.jsx

+ 1 - 1
packages/app/src/components/PageEditor.jsx

@@ -361,7 +361,7 @@ const PageEditorWrapper = (props) => {
   const { data: isEditable } = useIsEditable();
   const { data: editorMode } = useEditorMode();
 
-  if (isEditable == null || editorMode || null) {
+  if (isEditable == null || editorMode == null) {
     return null;
   }