@adstore/templates 2.10.16 → 2.10.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -2851,6 +2851,8 @@ const Uo = (t, e = "DD.MM.YYYY", o = "en") => t ? vf(t).locale(o).format(e) : ""
2851
2851
  body: a
2852
2852
  }) => {
2853
2853
  const [s, c] = ut(!1), [i, _] = ut(), l = Et(() => {
2854
+ if (t != null && t.includes("undefined") || t != null && t.includes("null"))
2855
+ return;
2854
2856
  let p = t;
2855
2857
  if (o) {
2856
2858
  const d = new URLSearchParams();
@@ -2862,7 +2864,7 @@ const Uo = (t, e = "DD.MM.YYYY", o = "en") => t ? vf(t).locale(o).format(e) : ""
2862
2864
  }
2863
2865
  return p;
2864
2866
  }, [t, o]), u = Vn(() => te(void 0, null, function* () {
2865
- if (e)
2867
+ if (e || !l)
2866
2868
  return;
2867
2869
  c(!0);
2868
2870
  const p = yield fetch(l, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adstore/templates",
3
3
  "private": false,
4
- "version": "2.10.16",
4
+ "version": "2.10.17",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"