@algorithm-shift/design-system 1.3.112 → 1.3.113

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.js CHANGED
@@ -4395,7 +4395,7 @@ function DataTable({
4395
4395
  const handlePageSizeChange = (e) => {
4396
4396
  const newSize = Number(e.target.value);
4397
4397
  if (paginationMode === "server") {
4398
- const currentPageIndex = table.getState().pagination.pageIndex;
4398
+ const currentPageIndex = 0;
4399
4399
  onPageChange?.(currentPageIndex, newSize);
4400
4400
  setLocalPageSize(newSize);
4401
4401
  } else {