15 lines
296 B
JavaScript
15 lines
296 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import App from './App';
|
||
|
|
||
|
const mapStateToProps = state => {
|
||
|
return {
|
||
|
pending: state.ui.pending,
|
||
|
menuOpen: state.ui.menuOpen,
|
||
|
isPreLaunch: state.ui.isPreLaunch
|
||
|
};
|
||
|
};
|
||
|
|
||
|
const AppContainer = connect(mapStateToProps)(App);
|
||
|
|
||
|
export default AppContainer;
|