text: import { connect } from "react-redux";
  import { bindActionCreators } from "redux";
  import * as actions from "../actions";
  import Calculator from "../components/Calculator";
  
  const mapStateToProps = state => ({
    calculator: state.calculator
  });
  
  const mapDispatchToProps = dispatch => ({
    actions: bindActionCreators(actions, dispatch)
  });
  
  export default connect(
    mapStateToProps,
    mapDispatchToProps
  )(Calculator);
  