@gisce/react-ooui 1.1.0 → 1.1.1

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.
@@ -18991,9 +18991,9 @@ const SearchTree$1 = forwardRef(SearchTree), SearchModal = (e) => {
18991
18991
  getContext: k,
18992
18992
  setOriginalValue: $,
18993
18993
  elementHasLostFocus: D
18994
- } = S || {}, M = useRef([]), [L, N] = useState([]), q = t && t[0], B = t && t[1] || "";
18994
+ } = S || {}, M = useRef([]), [L, N] = useState([]), q = t && t[0] || void 0, B = t && t[1] || "";
18995
18995
  useEffect(() => {
18996
- !Array.isArray(t) && !isNaN(t) && Z(t);
18996
+ !Array.isArray(t) && t && Z(t);
18997
18997
  }, [t]), useEffect(() => {
18998
18998
  q && B.length === 0 ? Z(q) : q && B.length > 0 ? O(B) : !q && !B && O(w.current || "");
18999
18999
  }, [t]);