lbry-desktop/src/ui/page/search/index.js

17 lines
297 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
2019-03-28 17:53:13 +01:00
import { doSearch, selectIsSearching } from 'lbry-redux';
import SearchPage from './view';
2017-05-05 10:01:16 +02:00
2017-06-06 06:21:55 +02:00
const select = state => ({
2017-05-05 10:01:16 +02:00
isSearching: selectIsSearching(state),
2017-06-06 06:21:55 +02:00
});
2017-05-05 10:01:16 +02:00
2019-03-28 17:53:13 +01:00
const perform = {
doSearch,
};
2017-05-05 10:01:16 +02:00
export default connect(
select,
perform
)(SearchPage);