import React, { Component } from 'react'; import { connect } from "react-redux"; import WithHeaderFooter from '../../shared/header_footer.hoc'; import WithSidebar from '../../shared/sidebar.hoc'; class AdminContainer extends Component { constructor(props) { console.log(props); super(props); } render() { return (
Admin Container
); } } const mapStateToProps = state => { return { }; }; export default connect(mapStateToProps)( WithSidebar(WithHeaderFooter(AdminContainer)) );