Closed thomani closed 5 years ago
There were brackets missing on the e.preventDefault call on both onClickHandler and onButtonClickHandler. When used inside a form element, clicking on the button would previously trigger the forms post.
Thanks @thomani :+1:
There were brackets missing on the e.preventDefault call on both onClickHandler and onButtonClickHandler. When used inside a form element, clicking on the button would previously trigger the forms post.