Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
levil664 committed Jul 4, 2024
1 parent f427a3b commit 38ebc9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/schools/domains/student/components/studentList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function StudentList() {
},
students: {
page: defaultPaginationTablePage,
pageSize: paginationParams.pageSize - ((invites?.count ?? 0) % newPageSize),
pageSize: newPageSize - ((invites?.count ?? 0) % newPageSize),
},
}))
} else {
Expand All @@ -138,7 +138,7 @@ export function StudentList() {
},
students: {
page: nextPage,
pageSize: 2 * paginationParams.pageSize - ((invites?.count ?? 0) % newPageSize),
pageSize: 2 * newPageSize - ((invites?.count ?? 0) % newPageSize),
},
}))
}
Expand Down

0 comments on commit 38ebc9a

Please sign in to comment.