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

16 lines
622 B
JavaScript
Raw Normal View History

2020-01-02 17:30:27 +01:00
import { connect } from 'react-redux';
import { selectFollowedTags } from 'redux/selectors/tags';
2021-02-25 18:43:56 +01:00
import { selectMutedChannels } from 'redux/selectors/blocked';
import { selectSubscriptions } from 'redux/selectors/subscriptions';
import { selectHomepageData } from 'redux/selectors/settings';
2020-01-02 17:30:27 +01:00
import ChannelsFollowingManagePage from './view';
2021-02-25 18:43:56 +01:00
const select = (state) => ({
followedTags: selectFollowedTags(state),
2020-01-02 17:30:27 +01:00
subscribedChannels: selectSubscriptions(state),
2021-02-25 18:43:56 +01:00
blockedChannels: selectMutedChannels(state),
homepageData: selectHomepageData(state),
2020-01-02 17:30:27 +01:00
});
export default connect(select)(ChannelsFollowingManagePage);