فهرست منبع

fix error message

yohei0125 4 سال پیش
والد
کامیت
506a7d4695
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

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