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

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

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

const mapDispatchToProps = {};

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

export default withRouter(Wrapped);
