revert page-button title

This commit is contained in:
Jay Staudt 2019-04-02 14:53:52 -04:00
parent 1a1f6969cb
commit 6d2493d537
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class PageButton extends Component {
}, className);
return (
<li className={ classes } title={ `page-${title}` }>
<li className={ classes } title={ title }>
<a href="#" onClick={ this.handleClick } className="page-link">{ page }</a>
</li>
);

View File

@ -105,7 +105,7 @@ describe('PageButton', () => {
const title = 'aTitle';
beforeEach(() => {
wrapper = shallow(
<PageButton { ...props } active disabled={ false } title={ `page-${title}` } />
<PageButton { ...props } active disabled={ false } title={ title } />
);
});