mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 17:31:27 +00:00
17 lines
517 B
JavaScript
17 lines
517 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doFetchClaimsByChannel } from 'redux/actions/content';
|
|
import { makeSelectClaimsInChannelForCurrentPage } from 'lbry-redux';
|
|
import RecommendedVideos from './view';
|
|
|
|
const select = (state, props) => ({
|
|
claimsInChannel: makeSelectClaimsInChannelForCurrentPage(props.channelUri)(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
fetchClaims: (uri, page) => dispatch(doFetchClaimsByChannel(uri, page)),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
perform
|
|
)(RecommendedVideos);
|