mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-23 20:07:40 +02:00
11 lines
288 B
JavaScript
11 lines
288 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import MainLayout from './MainLayout';
|
||
|
|
||
|
const mapStateToProps = (state, ownProps) => ({
|
||
|
uiConfig: state.uiConfig.toJS(),
|
||
|
location: ownProps.location,
|
||
|
children: ownProps.children,
|
||
|
});
|
||
|
|
||
|
export default connect(mapStateToProps)(MainLayout);
|