%PDF- %PDF-
Direktori : /home/emergentqj/actioncivile/pre-auth/.f81b4c9eb38fd76cdf20462cf2027aa3/static/js/containers/ |
Current File : /home/emergentqj/actioncivile/pre-auth/.f81b4c9eb38fd76cdf20462cf2027aa3/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);