reiji-h 1 anno fa
parent
commit
180a256318
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 {