2020-01-02 17:30:27 +01:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { selectFollowedTags } from 'lbry-redux';
|
|
|
|
import { selectUserVerifiedEmail } from 'lbryinc';
|
|
|
|
import { selectSubscriptions } from 'redux/selectors/subscriptions';
|
|
|
|
import DiscoverPage from './view';
|
|
|
|
|
|
|
|
const select = state => ({
|
|
|
|
followedTags: selectFollowedTags(state),
|
|
|
|
subscribedChannels: selectSubscriptions(state),
|
2020-01-20 17:47:03 +01:00
|
|
|
authenticated: selectUserVerifiedEmail(state),
|
2020-01-02 17:30:27 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
const perform = {};
|
|
|
|
|
|
|
|
export default connect(
|
|
|
|
select,
|
|
|
|
perform
|
|
|
|
)(DiscoverPage);
|