Taichi Masuyama пре 4 година
родитељ
комит
0db9848453
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

@@ -115,9 +115,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
     const { _id: pageId, revision: revisionId, path } = page;
 
     if (pageId == null || revisionId == null || path == null) {
-      // TODO: i18n
       throw Error('Any of _id, revision, and path must not be null.');
-      return;
     }
 
     const pageToDelete: IPageForPageDeleteModal = {