import { connect } from 'react-redux';
import { StoreState } from 'store/rootReducer';
import authActions from 'store/auth/actions';

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

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

const mapDispatchToProps = {
  reset: authActions.resetPassword.request.action,
};

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

export default Wrapped;
