@cripty2001/utils 0.0.181 → 0.0.182

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.
@@ -298,7 +298,7 @@ function useSearcher(data, limit) {
298
298
  results: searcher.current.search(q, limit)
299
299
  };
300
300
  }, setPending);
301
- searcher.current.search(q.q, limit);
301
+ setQ(draft => { draft.q = ""; }); // Running the first search with the empty query
302
302
  return [
303
303
  q.q,
304
304
  (q) => setQ(draft => { draft.q = q; }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.181",
3
+ "version": "0.0.182",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {