Skip to content

Commit

Permalink
Merge pull request #2466 from near/fix-mapdispatch
Browse files Browse the repository at this point in the history
fix: creating account
  • Loading branch information
marcinbodnar authored Feb 9, 2022
2 parents cff2b35 + 32275d1 commit ed94450
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ class SetupRecoveryMethod extends Component {
}
}

const mapDispatchToProps =()=> {
const mapDispatchToProps = () => {
const {
initializeRecoveryMethod,
setupRecoveryMessage,
Expand Down Expand Up @@ -610,4 +610,4 @@ const mapStateToProps = (state, { match }) => {
};
};

export const SetupRecoveryMethodWithRouter = connect(mapStateToProps, mapDispatchToProps)(withGoogleReCaptcha(SetupRecoveryMethod));
export const SetupRecoveryMethodWithRouter = connect(mapStateToProps, mapDispatchToProps())(withGoogleReCaptcha(SetupRecoveryMethod));

0 comments on commit ed94450

Please sign in to comment.