oraculo-ui 0.2.64 → 0.2.65

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.es.js CHANGED
@@ -2411,12 +2411,11 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2411
2411
  }, tt = (e, a = !1, n = "Casino") => {
2412
2412
  const [o, i] = ee([]), [s, l] = ee(!1);
2413
2413
  return re(() => {
2414
+ a || (i(Array.isArray(e) ? e : []), l(!1));
2415
+ }, [e, a]), re(() => {
2416
+ if (!a) return;
2414
2417
  let c = !1;
2415
2418
  return (async () => {
2416
- if (!a) {
2417
- i(Array.isArray(e) ? e : []), l(!1);
2418
- return;
2419
- }
2420
2419
  l(!0), i([]);
2421
2420
  try {
2422
2421
  const f = await Wn(n);
@@ -2439,7 +2438,7 @@ const Fn = "https://1v5raznji6.execute-api.us-east-1.amazonaws.com/dev/popularid
2439
2438
  })(), () => {
2440
2439
  c = !0;
2441
2440
  };
2442
- }, [e, a, n]), {
2441
+ }, [a, n]), {
2443
2442
  resolvedItems: o,
2444
2443
  loading: s
2445
2444
  };