@gisce/react-ooui 1.1.43-rc.0 → 1.1.43

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.
@@ -22717,8 +22717,10 @@ const DatePickerConfig = {
22717
22717
  readOnly: s
22718
22718
  } = n, u = t == null ? void 0 : t.split(","), [l, c] = useState([]), [d, f] = useState();
22719
22719
  return useEffect(() => {
22720
- if (!t)
22720
+ if (!t) {
22721
+ f(void 0), c([]);
22721
22722
  return;
22723
+ }
22722
22724
  const p = t && u && u[0], h = t && u && u[1] && parseInt(u[1]);
22723
22725
  c([h, void 0]), f(p);
22724
22726
  }, [t]), /* @__PURE__ */ jsxs(Row, {