Explorar o código

Removed unnecessary param

Taichi Masuyama %!s(int64=4) %!d(string=hai) anos
pai
achega
93bcb523aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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