import { connect } from 'react-redux';
import { StoreState } from 'store/rootReducer';
import { withRouter } from 'react-router-dom';

import ShopCard, { StateProps, DispatchProps, OwnProps } from './ShopCard';

const mapStateToProps = (state: StoreState): {} => ({});

const mapDispatchToProps = {};

const Wrapped = connect<StateProps, DispatchProps, OwnProps>(
  mapStateToProps,
  mapDispatchToProps,
)(ShopCard);

export default withRouter(Wrapped);
