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

18 lines
588 B
JavaScript
Raw Permalink Normal View History

2022-03-01 04:19:20 +01:00
import { connect } from 'react-redux';
import { doResolveUris } from 'redux/actions/claims';
import { doFetchLastActiveSubs } from 'redux/actions/subscriptions';
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),
lastActiveSubs: selectLastActiveSubscriptions(state),
2022-03-01 04:19:20 +01:00
});
const perform = {
doResolveUris,
doFetchLastActiveSubs,
};
export default connect(select, perform)(ChannelsFollowingManage);