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