lbry-desktop/ui/component/channelTitle/index.js

11 lines
337 B
JavaScript
Raw Normal View History

2020-03-18 22:14:11 +01:00
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);