Skip to content

Commit 5b5dc27

Browse files
committed
Updates
1 parent 26baf18 commit 5b5dc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pagination.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ class Pagination extends React.Component {
338338
let lastPager = null;
339339
let gotoButton = null;
340340

341-
const pageBoundaryCount = hideBoundary ? 0 : 1;
342341
const { pagerCount, hideBoundary } = props;
342+
const pageBoundaryCount = hideBoundary ? 0 : 1;
343343
const goButton = (props.showQuickJumper && props.showQuickJumper.goButton);
344344
const halfPagerCount = Math.max(1, Math.floor(pagerCount / 2));
345345
const pageBufferSize = props.showLessItems ? 1 : halfPagerCount;

0 commit comments

Comments
 (0)