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