Change anchor to button element (#3321)
Fix warning for ESLint (jsx-a11y/href-no-hash).
This commit is contained in:
committed by
Eugen Rochko
parent
2531c5953b
commit
4b11675bdc
@ -22,7 +22,7 @@ class Button extends React.PureComponent {
|
||||
|
||||
handleClick = (e) => {
|
||||
if (!this.props.disabled) {
|
||||
this.props.onClick();
|
||||
this.props.onClick(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user