5b16b3b058
Ticket: 1145 - Limited to premium for now (early access). - Needed to handle custom categories from non-English homepages.
13 lines
440 B
JavaScript
13 lines
440 B
JavaScript
import { connect } from 'react-redux';
|
|
import HomepageSort from './view';
|
|
import * as SETTINGS from 'constants/settings';
|
|
import { selectClientSetting, selectHomepageData } from 'redux/selectors/settings';
|
|
|
|
const select = (state) => ({
|
|
homepageData: selectHomepageData(state),
|
|
homepageOrder: selectClientSetting(state, SETTINGS.HOMEPAGE_ORDER),
|
|
});
|
|
|
|
// const perform = (dispatch) => ({});
|
|
|
|
export default connect(select)(HomepageSort);
|