lbry-desktop/ui/component/channelThumbnail/index.js
2019-11-11 13:27:29 -05:00

12 lines
296 B
JavaScript

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);