Taichi Masuyama 4 лет назад
Родитель
Сommit
93bcb523aa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/Sidebar/PageTree/ItemsTree.tsx

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

@@ -64,7 +64,7 @@ const ItemsTree: FC<ItemsTreeProps> = (props: ItemsTreeProps) => {
   const { targetPath, targetId, targetAndAncestorsData } = props;
 
   const { data: ancestorsChildrenData, error: error1 } = useSWRxPageAncestorsChildren(targetPath);
-  const { data: rootPageData, error: error2 } = useSWRxRootPage(true);
+  const { data: rootPageData, error: error2 } = useSWRxRootPage();
 
   if (error1 != null || error2 != null) {
     // TODO: improve message