Skip to content

Commit 79af10e

Browse files
committed
fix #255
1 parent 0f30823 commit 79af10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pagination/PageButton.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class PageButton extends React.Component{
99

1010
pageBtnClick(e){
1111
e.preventDefault();
12-
this.props.changePage(e.currentTarget.text);
12+
this.props.changePage(e.currentTarget.textContent);
1313
}
1414

1515
render(){

0 commit comments

Comments
 (0)