@bluemarble/bm-components 0.0.39 → 0.0.40

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/esm/index.js CHANGED
@@ -15222,7 +15222,7 @@ function useGrid({ columns, filters = [], rowsPerPageOptions = [30, 60, 100], })
15222
15222
  sortedDirection,
15223
15223
  columns,
15224
15224
  currentPage,
15225
- totalNumberOfPages: totalNumberOfPages,
15225
+ totalNumberOfPages: totalNumberOfPages === 0 ? 1 : totalNumberOfPages,
15226
15226
  onPageChange,
15227
15227
  setRowsPerPage: onChangeRowsPerPage,
15228
15228
  rowsPerPageOptions,