@megha-ui/react 1.2.163 → 1.2.164

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.
@@ -349,22 +349,6 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
349
349
  : "";
350
350
  return value.toLowerCase().includes(query.toLowerCase());
351
351
  }));
352
- setUniqueSearch((prev) => {
353
- filterColumns.forEach((column) => {
354
- if (prev[column.key] &&
355
- Array.isArray(prev[column.key]) &&
356
- prev[column.key].length > 0) {
357
- _filteredData.forEach((item) => {
358
- console.log(item[column.key], uniqueSearch[column.key]);
359
- if (item[column.key] &&
360
- !prev[column.key].includes(item[column.key].value)) {
361
- prev[column.key].push(item[column.key].value);
362
- }
363
- });
364
- }
365
- });
366
- return prev;
367
- });
368
352
  return _filteredData;
369
353
  }, [
370
354
  data,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.163",
3
+ "version": "1.2.164",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",