9 lines
290 B
JavaScript
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);
|