%PDF- %PDF-
Direktori : /home/emergentqj/actioncivile/pre-auth/.4cc3a2e1590a4463a5f392ddcc26929e/static/js/containers/ForgotPassword/ |
Current File : /home/emergentqj/actioncivile/pre-auth/.4cc3a2e1590a4463a5f392ddcc26929e/static/js/containers/ForgotPassword/ForgotPasswordContainer.js |
import { connect } from "react-redux"; import ForgotPassword from "components/ForgotPassword"; import countryConfig from "config/countryData"; import { resetRestorePswSession, } from "../../actions/list_actions"; const mapStateToProps = (state) => ({ step: state.resetPassword.toJS().step, phoneNumber: countryConfig.countryData[state.config.toJS().config.countryConstant].tel_number, }); const mapDispatchToProps = (dispatch) => ({ resetRestoreSession: () => { dispatch(resetRestorePswSession()); }, }); export default connect( mapStateToProps, mapDispatchToProps, )(ForgotPassword);