Fix load more search results

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
groups^2
marcin mikołajczak 2021-08-19 23:49:37 +02:00
rodzic e0cb4e0ec9
commit 5f68df64f1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -21,7 +21,7 @@ export default class SearchResults extends ImmutablePureComponent {
selectedFilter: PropTypes.string.isRequired,
};
handleLoadMore = () => this.props.expandSearch(this.state.selectedFilter);
handleLoadMore = () => this.props.expandSearch(this.props.selectedFilter);
handleSelectFilter = newActiveFilter => this.props.selectFilter(newActiveFilter);