14 lines
378 B
JavaScript
14 lines
378 B
JavaScript
import { connect } from 'react-redux';
|
|
import { getMode } from '../../redux/actions/mode';
|
|
import AppContent from './AppContent';
|
|
|
|
const mapStateToProps = state => {
|
|
return {
|
|
catalogFetched: !!state.catalog.length,
|
|
isPreLaunch: state.ui.isPreLaunch
|
|
};
|
|
};
|
|
|
|
const AppContentContainer = connect(mapStateToProps, { getMode })(AppContent);
|
|
|
|
export default AppContentContainer;
|