alpinesmuseum-public/assets/js/components/AppContent/AppContentContainer.js
2022-09-23 07:38:37 +05:30

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;