lbry-desktop/ui/component/fileThumbnail/index.js
2020-11-02 14:13:13 -05:00

9 lines
290 B
JavaScript

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