lbry-desktop/src/ui/component/claimListDiscover/index.js

19 lines
442 B
JavaScript
Raw Normal View History

2019-06-11 20:10:58 +02:00
import { connect } from 'react-redux';
2019-06-17 22:32:38 +02:00
import { doClaimSearch, selectLastClaimSearchUris, selectFetchingClaimSearch, doToggleTagFollow } from 'lbry-redux';
2019-06-19 07:05:43 +02:00
import ClaimListDiscover from './view';
2019-06-11 20:10:58 +02:00
const select = state => ({
uris: selectLastClaimSearchUris(state),
loading: selectFetchingClaimSearch(state),
});
const perform = {
doClaimSearch,
2019-06-17 22:32:38 +02:00
doToggleTagFollow,
2019-06-11 20:10:58 +02:00
};
export default connect(
select,
perform
2019-06-19 07:05:43 +02:00
)(ClaimListDiscover);