text: import { bindActionCreators } from 'redux';
  import { connect } from 'react-redux';
  import * as actionCreators from '../actions/actionCreators.js'
  import Main from './Main';
  
  
  function mapStateToProps(state){
    return {
      dealerInfo: state.dealerInfo
    }
  }
  
  function mapDispachToProps(dispach) {
    console.log('App', dispach)
    return bindActionCreators(actionCreators,
      dispach)
  }
  
  
  
  const App = connect(mapStateToProps, mapDispachToProps)(Main);
  
  export default App;