2020-01-30 16:01:23 -05:00
|
|
|
import { connect } from 'react-redux';
|
2021-11-16 12:23:18 +08:00
|
|
|
import { makeSelectClaimForUri, selectTitleForUri } from 'redux/selectors/claims';
|
2020-01-30 17:25:15 -05:00
|
|
|
import ClaimPreviewTitle from './view';
|
2020-01-30 16:01:23 -05:00
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
2021-11-16 12:23:18 +08:00
|
|
|
title: selectTitleForUri(state, props.uri),
|
2020-01-30 16:01:23 -05:00
|
|
|
});
|
|
|
|
|
2020-01-30 17:25:15 -05:00
|
|
|
export default connect(select)(ClaimPreviewTitle);
|