@orderingstack/front-hooks 6.1.0-beta.7 → 6.1.0

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
@@ -1704,10 +1704,8 @@ function Jt(t) {
1704
1704
  (i) => i.some((a) => $r(a, zg))
1705
1705
  ))
1706
1706
  return !0;
1707
- const r = Z(), e = r.format("ddd").toUpperCase();
1708
- console.log("week", t, "current day", e);
1709
- const n = t[e];
1710
- if (console.log("current day", e, n), !n || n.length === 0)
1707
+ const r = Z(), e = r.format("ddd").toUpperCase(), n = t[e];
1708
+ if (!n || n.length === 0)
1711
1709
  return !1;
1712
1710
  for (const i of n) {
1713
1711
  const a = r.format("YYYY-MM-DD"), s = Z(`${a}T${i.from}`, "HH:mm:ss"), c = Z(`${a}T${i.to}`, "HH:mm:ss");