Explorar o código

change Error message

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
77aa6121f8
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

@@ -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 = {