(JS-0390) Missing `type` attribute in `button` elements
Description
The default behavior of any HTML button element is to perform a form submit when the type
attribute is not present. To avoid unexpected behavior such as accidental page reloads, always provide a value for the type
attribute on button elements.
Occurrences
There are 14 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gl/yo/devparty/issue/JS-0390/occurrences/