reiji-h 1 год назад
Родитель
Сommit
180a256318
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/stores/page-listing.tsx

+ 1 - 1
apps/app/src/stores/page-listing.tsx

@@ -197,7 +197,7 @@ export const useSWRxPageAncestorsChildren = (
     assert(keyMatcherForPageTree(key));
   }
 
-  return useSWR(
+  return useSWRImmutable(
     key,
     ([, endpoint, path]) => apiv3Get(endpoint, { path }).then((response) => {
       return {