Skip to content

Commit a02fa13

Browse files
committed
page index resetting fix - this doesnt seem like the indended use, just a quick fix to be addressed in by the creators of material react table
1 parent abc9e22 commit a02fa13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/components/activity/activity-table.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ export default function ActivityTable(props) {
298298
],
299299
},
300300
pageCount: pages,
301+
rowCount: pagination.pageSize, // fix for bug causing pagination index to reset when row count changes
301302
showAlertBanner: false,
302303
enableHiding: false,
303304
enableFullScreenToggle: false,

0 commit comments

Comments
 (0)