Skip to content

Commit

Permalink
fix key warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Oct 4, 2015
1 parent cd27aae commit 9057e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagination/PaginationList.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class PaginationList extends React.Component{

var sizePerPageList = this.props.sizePerPageList.map((sizePerPage) => {
return (
<li role="presentation">
<li key={sizePerPage} role="presentation">
<a role="menuitem" tabIndex="-1" href="#" onClick={this.changeSizePerPage.bind(this)}>{sizePerPage}</a>
</li>
);
Expand Down

0 comments on commit 9057e1c

Please sign in to comment.