truffle-box / react-auth-box

Truffle, Webpack, React, Redux boilerplate with routing and authentication via a smart contract.
https://truffle-box.github.io/
MIT License
176 stars 66 forks source link

Remove event.preventDefault call #39

Open azappella opened 6 years ago

azappella commented 6 years ago

Problem:

The onProfileFormSubmit function makes a redundant call to event.preventDefault()

Solution: removed the redundant event.preventDefault call