Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. const mapStateToProps = (state, props) => ({
  2. initialValues: props.dataToEdit,
  3. validate
  4. })
  5.  
  6. export default connect(mapStateToProps)(reduxForm({ form: 'profileForm', enableReinitialize: true })(Profile))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement