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