yohei0125 4 лет назад
Родитель
Сommit
ebef6f1277
1 измененных файлов с 1 добавлено и 1 удалено
  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.');
     }