Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const mapStateToProps = (state, props) => ({
- initialValues: props.dataToEdit,
- validate
- })
- export default connect(mapStateToProps)(reduxForm({ form: 'profileForm', enableReinitialize: true })(Profile))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement