Browse Source

delete from pagetree

yohei0125 4 years ago
parent
commit
ebef6f1277
1 changed files with 1 additions and 1 deletions
  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.');
     }