Explorar el Código

delete from pagetree

yohei0125 hace 4 años
padre
commit
ebef6f1277
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/components/Sidebar/PageTree/Item.tsx

+ 1 - 1
packages/app/src/components/Sidebar/PageTree/Item.tsx

@@ -309,7 +309,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
       return;
     }
 
-    if (page._id == null || page.revision == null || page.path == null) {
+    if (page._id == null || page.path == null) {
       throw Error('Any of _id, revision, and path must not be null.');
     }