15 lines
507 B
JavaScript
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);
|