lbry-desktop/ui/component/channelThumbnail/index.js

13 lines
296 B
JavaScript
Raw Normal View History

2019-05-07 04:35:04 +02:00
import { connect } from 'react-redux';
import { makeSelectThumbnailForUri } from 'lbry-redux';
import ChannelThumbnail from './view';
const select = (state, props) => ({
thumbnail: makeSelectThumbnailForUri(props.uri)(state),
});
export default connect(
select,
null
)(ChannelThumbnail);