import { connect } from 'react-redux' ; import { bindActionCreators } from 'redux' ; import * as actions from '../actions' ; import EditDialog from '../components/EditDialog/index' ; const mapStateToProps = ( state ) => { return { feature : state . get ( 'editDialog' ) && state . get ( 'editDialog' ) . feature , errors : { } , } ; } ; const mapDispatchToProps = ( dispatch , ownProps ) => bindActionCreators ( ( actions as any ) , dispatch ) ; const EditDialogContainer = connect ( mapStateToProps , mapDispatchToProps ) ( EditDialog ) ; export default EditDialogContainer ;