Browse Source

fix: aezeedPasswordConfirmation propagation

I saw a warning that a required argument to NewAezeedPassword was not
present and tracked it back to here.

updateAezeedPasswordConfirmation is a function and should be sourced
via the dispatchProps, while the aezeedPasswordConfirmation holds the
value.
renovate/lint-staged-8.x
Ben Woosley 7 years ago
parent
commit
3f75445ee5
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 2
      app/containers/Root.js

2
app/containers/Root.js

@ -153,7 +153,7 @@ const mergeProps = (stateProps, dispatchProps, ownProps) => {
const newAezeedPasswordProps = {
aezeedPassword: stateProps.onboarding.aezeedPassword,
aezeedPasswordConfirmation: stateProps.onboarding.updateAezeedPasswordConfirmation,
aezeedPasswordConfirmation: stateProps.onboarding.aezeedPasswordConfirmation,
showAezeedPasswordConfirmationError: stateProps.showAezeedPasswordConfirmationError,
updateAezeedPassword: dispatchProps.updateAezeedPassword,
updateAezeedPasswordConfirmation: dispatchProps.updateAezeedPasswordConfirmation

Loading…
Cancel
Save