Published
- 1 min read
form submit event typescript
The solution for this is noted below
form submit event typescript
Solution
onSubmit={(e: React.SyntheticEvent) => {
e.preventDefault();
}
Try other methods by searching on the site. That is if this doesn’t work