2022-03-01 04:19:20 +01:00
|
|
|
import { connect } from 'react-redux';
|
2022-03-01 07:40:35 +01:00
|
|
|
import { doResolveUris } from 'redux/actions/claims';
|
2022-03-04 08:15:23 +01:00
|
|
|
import { selectLastActiveSubscriptions, selectSubscriptionUris } from 'redux/selectors/subscriptions';
|
2022-03-01 04:19:20 +01:00
|
|
|
import ChannelsFollowingManage from './view';
|
|
|
|
|
|
|
|
const select = (state) => ({
|
|
|
|
subscribedChannelUris: selectSubscriptionUris(state),
|
2022-03-04 08:15:23 +01:00
|
|
|
lastActiveSubs: selectLastActiveSubscriptions(state),
|
2022-03-01 04:19:20 +01:00
|
|
|
});
|
|
|
|
|
2022-03-01 07:40:35 +01:00
|
|
|
const perform = {
|
|
|
|
doResolveUris,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(select, perform)(ChannelsFollowingManage);
|