@megha-ui/react 1.2.617 → 1.2.619

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.
@@ -535,7 +535,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
535
535
  };
536
536
  const { sortedData, handleSort, sortQueries, setSortQueries } = useSort(filteredData, gridColumns, uniqueSearch, multiSorting, withAscii);
537
537
  const { paginatedData, currentPage, handleChangePage, handleChangeRowsPerPage, rowsPerPage, } = usePagination(sortedData, defaultRowsPerPage);
538
- console.log({ filteredData, sortedData, paginatedData });
539
538
  useEffect(() => {
540
539
  const keys = Object.keys(summariseKeys);
541
540
  if (keys.length > 0 && summariseAvailable) {
@@ -827,7 +826,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
827
826
  }, 1000);
828
827
  setPrevRenderedData(filteredData);
829
828
  }
830
- }, [filteredData, sortQueries, gridGroupBy, gridColumns]);
829
+ }, [sortedData, gridGroupBy, gridColumns]);
831
830
  const handleSearch = (key, value, type) => {
832
831
  setSearchQueries((prev) => (Object.assign(Object.assign({}, prev), { [key]: { text: value, type, operation: "and" } })));
833
832
  setUniqueSearch((prev) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.617",
3
+ "version": "1.2.619",
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.js",