2020-01-02 17:30:27 +01:00
|
|
|
import { connect } from 'react-redux';
|
2020-07-15 15:50:08 +02:00
|
|
|
import { selectFollowedTags } from 'lbry-redux';
|
|
|
|
import { selectBlockedChannels } from 'redux/selectors/blocked';
|
2020-02-18 18:00:47 +01:00
|
|
|
import { selectSubscriptions } from 'redux/selectors/subscriptions';
|
2020-01-02 17:30:27 +01:00
|
|
|
import ChannelsFollowingManagePage from './view';
|
|
|
|
|
|
|
|
const select = state => ({
|
2020-02-18 16:26:58 +01:00
|
|
|
followedTags: selectFollowedTags(state),
|
2020-01-02 17:30:27 +01:00
|
|
|
subscribedChannels: selectSubscriptions(state),
|
2020-02-18 18:00:47 +01:00
|
|
|
blockedChannels: selectBlockedChannels(state),
|
2020-01-02 17:30:27 +01:00
|
|
|
});
|
|
|
|
|
2020-02-18 18:00:47 +01:00
|
|
|
export default connect(select)(ChannelsFollowingManagePage);
|