fix linting issues

This commit is contained in:
John Mitchell
2019-01-24 13:05:36 -05:00
parent 2588832629
commit 7de89f6486
25 changed files with 254 additions and 241 deletions

View File

@@ -53,10 +53,6 @@ class DataListToolbar extends React.Component {
this.onSort = this.onSort.bind(this);
}
handleSearchInputChange (searchValue) {
this.setState({ searchValue });
}
onSortDropdownToggle (isSortDropdownOpen) {
this.setState({ isSortDropdownOpen });
}
@@ -97,6 +93,10 @@ class DataListToolbar extends React.Component {
onSort(sortedColumnKey, newSortOrder);
}
handleSearchInputChange (searchValue) {
this.setState({ searchValue });
}
render () {
const { up } = DropdownPosition;
const {
@@ -223,7 +223,7 @@ class DataListToolbar extends React.Component {
variant="plain"
aria-label={i18n._(t`Sort`)}
>
<SortIcon/>
<SortIcon />
</Button>
</ToolbarItem>
</ToolbarGroup>