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

16 lines
494 B
JavaScript
Raw Normal View History

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