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