Skip to content

Commit f637f97

Browse files
fix: manually reset page index when using manualPagination
1 parent 9c139c4 commit f637f97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/LearnerActivityTable/index.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ const LearnerActivityTable = ({ id, enterpriseId, activity }) => {
193193
data={courseEnrollments.results}
194194
itemCount={courseEnrollments.itemCount}
195195
pageCount={courseEnrollments.pageCount}
196+
initialTableOptions={{
197+
autoResetPage: true,
198+
}}
196199
/>
197200
);
198201
};

0 commit comments

Comments
 (0)