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 26baf18 commit 5b5dc27Copy full SHA for 5b5dc27
src/Pagination.jsx
@@ -338,8 +338,8 @@ class Pagination extends React.Component {
338
let lastPager = null;
339
let gotoButton = null;
340
341
- const pageBoundaryCount = hideBoundary ? 0 : 1;
342
const { pagerCount, hideBoundary } = props;
+ const pageBoundaryCount = hideBoundary ? 0 : 1;
343
const goButton = (props.showQuickJumper && props.showQuickJumper.goButton);
344
const halfPagerCount = Math.max(1, Math.floor(pagerCount / 2));
345
const pageBufferSize = props.showLessItems ? 1 : halfPagerCount;
0 commit comments