Merge remote-tracking branch 'parent/main' into kb_lts
This commit is contained in:
commit
7a36615f0e
5 changed files with 146 additions and 173 deletions
|
@ -29,7 +29,6 @@ class SearchResults extends ImmutablePureComponent {
|
|||
results: ImmutablePropTypes.map.isRequired,
|
||||
expandSearch: PropTypes.func.isRequired,
|
||||
searchTerm: PropTypes.string,
|
||||
noMoreResults: ImmutablePropTypes.map,
|
||||
};
|
||||
|
||||
handleLoadMoreAccounts = () => this.props.expandSearch('accounts');
|
||||
|
@ -38,8 +37,6 @@ class SearchResults extends ImmutablePureComponent {
|
|||
|
||||
handleLoadMoreHashtags = () => this.props.expandSearch('hashtags');
|
||||
|
||||
showMoreResults = (searchType) => this.props.noMoreResults ? !this.props.noMoreResults.get(searchType) : true;
|
||||
|
||||
render () {
|
||||
const { results } = this.props;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue