@dust-tt/sparkle 0.2.228 → 0.2.229
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/cjs/index.js
CHANGED
|
@@ -129302,7 +129302,7 @@ var usePaginationFromUrl = function (urlPrefix, initialPageSize) {
|
|
|
129302
129302
|
var pagination = { pageIndex: pageIndex, pageSize: pageSize };
|
|
129303
129303
|
var setPagination = function (newValue) {
|
|
129304
129304
|
if (newValue.pageIndex !== pageIndex || newValue.pageSize !== pageSize) {
|
|
129305
|
-
setPageIndexParam(newValue.pageIndex.toString());
|
|
129305
|
+
setPageIndexParam(newValue.pageIndex.toString(), { history: "push" });
|
|
129306
129306
|
setPageSizeParam(newValue.pageSize.toString());
|
|
129307
129307
|
}
|
|
129308
129308
|
};
|