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

11 lines
341 B
JavaScript
Raw Normal View History

2020-11-02 11:51:08 -05:00
import { connect } from 'react-redux';
import { doResolveUri } from 'redux/actions/claims';
import { makeSelectClaimForUri } from 'redux/selectors/claims';
import CardMedia from './view';
2017-07-14 00:18:28 +01:00
2020-11-02 11:51:08 -05:00
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select, { doResolveUri })(CardMedia);