@bluemarble/bm-components 1.10.4 → 1.10.5

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.
package/dist/index.mjs CHANGED
@@ -4838,13 +4838,13 @@ function useGrid({
4838
4838
  },
4839
4839
  [sortedBy]
4840
4840
  );
4841
- const onPageChange = useCallback5((pageNumber) => {
4841
+ const onPageChange = (pageNumber) => {
4842
4842
  if (pageNumber < 0)
4843
4843
  return;
4844
4844
  if (pageNumber > totalNumberOfPages)
4845
4845
  return;
4846
4846
  setCurrentPage(pageNumber);
4847
- }, []);
4847
+ };
4848
4848
  const onChangeRowsPerPage = useCallback5(
4849
4849
  (rows) => {
4850
4850
  let totalNumberOfPages2 = Math.round(filteredData.length / rows) - 1;