next-recomponents 1.5.7 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -32559,7 +32559,7 @@ function useResources({
32559
32559
  }
32560
32560
  (0, import_react28.useEffect)(() => {
32561
32561
  loadAll();
32562
- }, [result]);
32562
+ }, []);
32563
32563
  return result;
32564
32564
  }
32565
32565
 
package/dist/index.mjs CHANGED
@@ -32549,7 +32549,7 @@ function useResources({
32549
32549
  }
32550
32550
  useEffect8(() => {
32551
32551
  loadAll();
32552
- }, [result]);
32552
+ }, []);
32553
32553
  return result;
32554
32554
  }
32555
32555
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -560,6 +560,6 @@ export default function useResources<T extends Record<string, ItemsRecord>>({
560
560
  }
561
561
  useEffect(() => {
562
562
  loadAll();
563
- }, [result]);
563
+ }, []);
564
564
  return result;
565
565
  }