Open indifferentghost opened 4 years ago
These .preventDefaults are unneeded. The most common use of preventDefault is to stop a form from refreshing onSubmittion
.preventDefault
preventDefault
onSubmit
This wouldn't be an issue if you were using react-hook-form [#20]
These
.preventDefault
s are unneeded. The most common use ofpreventDefault
is to stop a form from refreshingonSubmit
tion