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

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

@@ -164,7 +164,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
   //     return;
   //   }
 
-  //   const parentPath = nodePath.dirname(page.path as string);
+  //   const parentPath = getParentPagePath(page.path)
   //   const newPagePath = `${parentPath}/${inputText}`;
 
   //   try {