Explorar el Código

Removed unnecessary param

Taichi Masuyama hace 4 años
padre
commit
93bcb523aa
Se han modificado 1 ficheros con 1 adiciones y 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