2020-01-02 17:30:27 +01:00
|
|
|
import { connect } from 'react-redux';
|
2020-10-05 20:31:51 +02:00
|
|
|
import { selectFollowedTags } from 'redux/selectors/tags';
|
2021-03-03 19:50:16 +01:00
|
|
|
import { selectMutedChannels } from 'redux/selectors/blocked';
|
2020-02-18 18:00:47 +01:00
|
|
|
import { selectSubscriptions } from 'redux/selectors/subscriptions';
|
2020-11-10 17:07:00 +01:00
|
|
|
import { selectHomepageData } from 'redux/selectors/settings';
|
2020-01-02 17:30:27 +01:00
|
|
|
import ChannelsFollowingManagePage from './view';
|
|
|
|
|
2021-03-03 19:50:16 +01:00
|
|
|
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),
|
2021-03-03 19:50:16 +01:00
|
|
|
blockedChannels: selectMutedChannels(state),
|
2020-11-10 17:07:00 +01:00
|
|
|
homepageData: selectHomepageData(state),
|
2020-01-02 17:30:27 +01:00
|
|
|
});
|
|
|
|
|
2020-02-18 18:00:47 +01:00
|
|
|
export default connect(select)(ChannelsFollowingManagePage);
|