2020-01-30 22:01:23 +01:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-08 05:47:39 +02:00
|
|
|
import { makeSelectClaimForUri, makeSelectTitleForUri } from 'redux/selectors/claims';
|
2020-01-30 23:25:15 +01:00
|
|
|
import ClaimPreviewTitle from './view';
|
2020-01-30 22:01:23 +01:00
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
|
|
title: makeSelectTitleForUri(props.uri)(state),
|
|
|
|
});
|
|
|
|
|
2020-01-30 23:25:15 +01:00
|
|
|
export default connect(select)(ClaimPreviewTitle);
|