소스 검색

delete from pagetree

yohei0125 4 년 전
부모
커밋
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.');
     }