Skip to content

Commit

Permalink
Fix #6647: PageLinks use totalPages (#6649)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored May 23, 2024
1 parent a86970a commit 7c33e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/paginator/PageLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const PageLinks = React.memo((inProps) => {
},
page: pageLink - 1,
currentPage: props.page,
totalPages: props.pageCount,
totalPages: props.totalPages,
ariaLabel: ariaLabel('pageLabel', { page: pageLink }),
ariaCurrent: pageLink - 1 === props.page ? 'true' : undefined,
element,
Expand Down

0 comments on commit 7c33e3f

Please sign in to comment.