Skip to content

Commit

Permalink
fix(initial values): initial values
Browse files Browse the repository at this point in the history
  • Loading branch information
titanve committed Mar 3, 2019
1 parent 2d85557 commit 2766e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react-next-paging.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ReactNextPaging extends React.Component {

componentDidUpdate(prevProps, prevState, snapshot) {
if (
this.props.items !== prevProps.items ||
this.props.items.length !== prevProps.items.length ||
this.props.itemsperpage !== prevProps.itemsperpage ||
this.props.pagesspan !== prevProps.pagesspan
) {
Expand Down

0 comments on commit 2766e40

Please sign in to comment.