bf324a1b79
No need to memo given no transformation.
10 lines
341 B
JavaScript
10 lines
341 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectClaimForUri, selectTitleForUri } from 'redux/selectors/claims';
|
|
import ChannelTitle from './view';
|
|
|
|
const select = (state, props) => ({
|
|
title: selectTitleForUri(state, props.uri),
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
});
|
|
|
|
export default connect(select)(ChannelTitle);
|