@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.mjs CHANGED
@@ -4307,7 +4307,7 @@ function DataTable({
4307
4307
  const handlePageSizeChange = (e) => {
4308
4308
  const newSize = Number(e.target.value);
4309
4309
  if (paginationMode === "server") {
4310
- const currentPageIndex = table.getState().pagination.pageIndex;
4310
+ const currentPageIndex = 0;
4311
4311
  onPageChange?.(currentPageIndex, newSize);
4312
4312
  setLocalPageSize(newSize);
4313
4313
  } else {