2020-03-18 17:14:11 -04:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-17 16:36:14 +08:00
|
|
|
import { makeSelectClaimForUri, makeSelectTitleForUri } from 'redux/selectors/claims';
|
2020-03-18 17:14:11 -04:00
|
|
|
import ChannelTitle from './view';
|
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
title: makeSelectTitleForUri(props.uri)(state),
|
|
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select)(ChannelTitle);
|