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