We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff9ff3d commit 5437310Copy full SHA for 5437310
src/app/rollupscan/index/Table.tsx
@@ -155,9 +155,9 @@ const RollupTable = function RollupTable(props) {
155
}
156
157
const handleChangePage = (e, newPage) => {
158
- searchParams.set("page", newPage)
159
- // setSearchParams(searchParams);
160
- router.push(`${pathname}?${searchParams.toString()}}`)
+ const params = new URLSearchParams(searchParams.toString())
+ params.set("page", newPage)
+ router.push(`${pathname}?${params.toString()}}`)
161
onPaginationChange({
162
page: +searchParams.get("page"),
163
pageSize: +searchParams.get("per_page"),
0 commit comments