소스 검색

change Error message

yohei0125 4 년 전
부모
커밋
77aa6121f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

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