text: import { connect } from 'react-redux';
  import { change } from 'redux-form';
  import {
    buyValue,
    sellValue
  } from '../../../../../constants/sendOrder/orderEntryFormConstants';
  import { isBuySideBuySellFormSelector } from '../../../../../redux/selectors/buySellSelectors';
  import { clearBuySellForm } from '../../../../../redux/actions/orderEntryActions';
  import BuySellTabsComponent from './BuySellTabsComponent';
  import { withRouter } from 'react-router-dom';
  
  const mapStateToProps = state => ({
    isBuySide: isBuySideBuySellFormSelector(state)
  });
  
  const mapDispatchToProps = {
    setBuyValue: () => change('buySell', 'side', buyValue),
    setSellValue: () => change('buySell', 'side', sellValue),
    clearForm: clearBuySellForm
  };
  
  const container = connect(
    mapStateToProps,
    mapDispatchToProps
  )(BuySellTabsComponent);
  export default withRouter(container);
  