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

14 lines
466 B
JavaScript
Raw Normal View History

2020-01-02 17:30:27 +01:00
import { connect } from 'react-redux';
2020-08-21 17:49:13 +02:00
import { SETTINGS } from 'lbry-redux';
2020-02-17 20:12:28 +01:00
import { selectSubscriptions } from 'redux/selectors/subscriptions';
2020-08-21 17:49:13 +02:00
import { makeSelectClientSetting } from 'redux/selectors/settings';
2020-02-17 20:12:28 +01:00
import ChannelsFollowingPage from './view';
2020-01-02 17:30:27 +01:00
const select = state => ({
subscribedChannels: selectSubscriptions(state),
2020-08-21 17:49:13 +02:00
tileLayout: makeSelectClientSetting(SETTINGS.TILE_LAYOUT)(state),
2020-01-02 17:30:27 +01:00
});
2020-02-17 20:12:28 +01:00
export default connect(select)(ChannelsFollowingPage);