lbry-desktop/ui/component/channelThumbnail/index.js
2020-07-23 11:03:00 -04:00

12 lines
392 B
JavaScript

import { connect } from 'react-redux';
import { makeSelectThumbnailForUri, doResolveUri, makeSelectClaimForUri } from 'lbry-redux';
import ChannelThumbnail from './view';
const select = (state, props) => ({
thumbnail: makeSelectThumbnailForUri(props.uri)(state),
claim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select, {
doResolveUri,
})(ChannelThumbnail);