A sample image of the TypeScript error.
This could be because you're using DOM events.
Here is the solution:
const onSubmit = async (e:
React.MouseEvent<HTMLButtonElement>) => {
e.preventDefault();
}
Let me know if it works. Cheers ;)
For further actions, you may consider blocking this person and/or reporting abuse
Adeleye Ayodeji -
Kachkol Asa -
yogini16 -
keploy -
Top comments (0)