|
|
@@ -45,10 +45,6 @@ class WBLiveLogs extends Component { |
|
|
|
render({}, { content, page, numPages }) {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<a href="#" onclick={ e => {
|
|
|
|
e.preventDefault();
|
|
|
|
this.fetchData();
|
|
|
|
} }>Refresh</a>
|
|
|
|
<WBPagination activePage={ page } numPages={ numPages }
|
|
|
|
onPageChanged={ page => { this.state.page = page; this.fetchData(); } } />
|
|
|
|
<pre class="word-warp terminal">
|
|
|
@@ -60,7 +56,7 @@ class WBLiveLogs extends Component { |
|
|
|
}
|
|
|
|
|
|
|
|
WBLiveLogs.defaultProps = {
|
|
|
|
itemsPerPage: 100
|
|
|
|
itemsPerPage: 1000
|
|
|
|
};
|
|
|
|
|
|
|
|
export default WBLiveLogs;
|