Integrate proptypes for our shared components.

- Fix unit tests.
- Fix linter errors.
This commit is contained in:
kialam
2019-02-15 15:08:52 -05:00
parent 91f87b6d81
commit b340d49cb7
26 changed files with 313 additions and 55 deletions

View File

@@ -39,8 +39,6 @@ class OrganizationsList extends Component {
order_by: 'name',
};
pageSizeOptions = [5, 10, 25, 50];
constructor (props) {
super(props);
@@ -207,7 +205,6 @@ class OrganizationsList extends Component {
selected,
} = this.state;
const { match } = this.props;
return (
<PageSection variant={medium}>
<Card>
@@ -258,7 +255,6 @@ class OrganizationsList extends Component {
page={page}
pageCount={pageCount}
page_size={page_size}
pageSizeOptions={this.pageSizeOptions}
onSetPage={this.onSetPage}
/>
{ loading ? <div>loading...</div> : '' }