lbry-desktop/ui/page/channelsFollowingManage/index.js
infinite-persistence 65931202b0
Fix missing subs in sidebar on login
At least show the original list
2022-03-07 10:41:54 +08:00

17 lines
588 B
JavaScript

import { connect } from 'react-redux';
import { doResolveUris } from 'redux/actions/claims';
import { doFetchLastActiveSubs } from 'redux/actions/subscriptions';
import { selectLastActiveSubscriptions, selectSubscriptionUris } from 'redux/selectors/subscriptions';
import ChannelsFollowingManage from './view';
const select = (state) => ({
subscribedChannelUris: selectSubscriptionUris(state),
lastActiveSubs: selectLastActiveSubscriptions(state),
});
const perform = {
doResolveUris,
doFetchLastActiveSubs,
};
export default connect(select, perform)(ChannelsFollowingManage);