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