18 lines
442 B
JavaScript
18 lines
442 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doClaimSearch, selectLastClaimSearchUris, selectFetchingClaimSearch, doToggleTagFollow } from 'lbry-redux';
|
|
import ClaimListDiscover from './view';
|
|
|
|
const select = state => ({
|
|
uris: selectLastClaimSearchUris(state),
|
|
loading: selectFetchingClaimSearch(state),
|
|
});
|
|
|
|
const perform = {
|
|
doClaimSearch,
|
|
doToggleTagFollow,
|
|
};
|
|
|
|
export default connect(
|
|
select,
|
|
perform
|
|
)(ClaimListDiscover);
|