18 lines
492 B
JavaScript
18 lines
492 B
JavaScript
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),
|
|
email: selectUserVerifiedEmail(state),
|
|
});
|
|
|
|
const perform = {};
|
|
|
|
export default connect(
|
|
select,
|
|
perform
|
|
)(DiscoverPage);
|