lbry-desktop/ui/page/channelsFollowing/index.js
2021-10-20 17:05:37 -04:00

13 lines
477 B
JavaScript

import { connect } from 'react-redux';
import * as SETTINGS from 'constants/settings';
import { selectSubscriptions } from 'redux/selectors/subscriptions';
import { makeSelectClientSetting } from 'redux/selectors/settings';
import ChannelsFollowingPage from './view';
const select = (state) => ({
subscribedChannels: selectSubscriptions(state),
tileLayout: makeSelectClientSetting(SETTINGS.TILE_LAYOUT)(state),
});
export default connect(select)(ChannelsFollowingPage);