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
Desmond Chin -
Prince -
shams Arman siddique -
Velan<> -
Top comments (0)