10 lines
341 B
JavaScript
10 lines
341 B
JavaScript
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);
|