Explorar o código

delete from pagetree

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
ebef6f1277
Modificáronse 1 ficheiros con 1 adicións e 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.');
     }