We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f30823 commit 79af10eCopy full SHA for 79af10e
src/pagination/PageButton.js
@@ -9,7 +9,7 @@ class PageButton extends React.Component{
9
10
pageBtnClick(e){
11
e.preventDefault();
12
- this.props.changePage(e.currentTarget.text);
+ this.props.changePage(e.currentTarget.textContent);
13
}
14
15
render(){
0 commit comments