@sonamu-kit/react-components 0.3.8 → 0.3.9

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.
@@ -2081,10 +2081,10 @@ function ri(e, t) {
2081
2081
  m(e);
2082
2082
  }, []), S = i && "onSearch" in e ? e.onSearch : void 0, C = i && "searchDebounce" in e && e.searchDebounce !== void 0 ? e.searchDebounce : 300;
2083
2083
  a(() => {
2084
- if (!S || p === "") return;
2084
+ if (!S) return;
2085
2085
  let e = setTimeout(() => {
2086
2086
  S(p);
2087
- }, C);
2087
+ }, p === "" ? 0 : C);
2088
2088
  return () => clearTimeout(e);
2089
2089
  }, [
2090
2090
  p,