diff --git a/src/pagination/PageButton.js b/src/pagination/PageButton.js index d4c2063f7..df8bf816b 100644 --- a/src/pagination/PageButton.js +++ b/src/pagination/PageButton.js @@ -9,7 +9,7 @@ class PageButton extends React.Component{ pageBtnClick(e){ e.preventDefault(); - this.props.changePage(e.currentTarget.text); + this.props.changePage(e.currentTarget.textContent); } render(){