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

12 lines
384 B
JavaScript
Raw Normal View History

2020-02-26 19:39:03 +01:00
import { connect } from 'react-redux';
import { selectFollowedTags } from 'lbry-redux';
import { selectSubscriptions } from 'redux/selectors/subscriptions';
import UserChannelFollowIntro from './view';
const select = state => ({
followedTags: selectFollowedTags(state),
subscribedChannels: selectSubscriptions(state),
});
export default connect(select)(UserChannelFollowIntro);