ReasonJun

React : useForm lig error <button> 본문

Frontend/Error

React : useForm lig error <button>

ReasonJun 2023. 7. 30. 00:29
728x90

In the part where you specify 'useForm', it is recommended to specify only one button: submit. If another button exists and it uses the lib as the useForm, submit will be executed. Instead of button, it is better to specify another div and set onClick. 

728x90
Comments