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-07 03:41:54 +01:00
|
|
|
import { doFetchLastActiveSubs } from 'redux/actions/subscriptions';
|
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,
|
2022-03-07 03:41:54 +01:00
|
|
|
doFetchLastActiveSubs,
|
2022-03-01 07:40:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(select, perform)(ChannelsFollowingManage);
|