lbry-desktop/ui/page/discover/index.js

19 lines
492 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
2019-06-11 20:10:58 +02:00
import { selectFollowedTags } from 'lbry-redux';
2019-09-26 18:07:11 +02:00
import { selectUserVerifiedEmail } from 'lbryinc';
2019-07-01 03:52:38 +02:00
import { selectSubscriptions } from 'redux/selectors/subscriptions';
import DiscoverPage from './view';
2017-04-23 11:56:50 +02:00
2017-06-06 06:21:55 +02:00
const select = state => ({
2019-06-11 20:10:58 +02:00
followedTags: selectFollowedTags(state),
2019-07-01 03:52:38 +02:00
subscribedChannels: selectSubscriptions(state),
2019-09-26 18:07:11 +02:00
email: selectUserVerifiedEmail(state),
2017-06-06 06:21:55 +02:00
});
2017-04-23 11:56:50 +02:00
2019-06-11 20:10:58 +02:00
const perform = {};
2017-04-23 11:56:50 +02:00
export default connect(
select,
perform
)(DiscoverPage);