Two JS small fixes (worth for main)
This commit is contained in:
parent
7450e43eb8
commit
da3e199c91
2 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ export const IconButton: React.FC<{
|
|||
props;
|
||||
const onClickStopPropagation: MouseEventHandler<HTMLAnchorElement> = (e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
if (disabled) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue