lbry-desktop/ui/component/channelTitle/index.js
2020-03-19 12:12:19 -04:00

10 lines
337 B
JavaScript

import { connect } from 'react-redux';
import { makeSelectClaimForUri, makeSelectTitleForUri } from 'lbry-redux';
import ChannelTitle from './view';
const select = (state, props) => ({
title: makeSelectTitleForUri(props.uri)(state),
claim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select)(ChannelTitle);