lbry-desktop/ui/page/home/index.js
2020-06-16 09:56:32 -04:00

15 lines
507 B
JavaScript

import { connect } from 'react-redux';
import { selectFollowedTags } from 'lbry-redux';
import { selectUserVerifiedEmail } from 'redux/selectors/user';
import { selectSubscriptions } from 'redux/selectors/subscriptions';
import DiscoverPage from './view';
const select = state => ({
followedTags: selectFollowedTags(state),
subscribedChannels: selectSubscriptions(state),
authenticated: selectUserVerifiedEmail(state),
});
const perform = {};
export default connect(select, perform)(DiscoverPage);