fix stopPropagation location

This commit is contained in:
Simone Taeggi 2023-02-24 11:40:12 +01:00
parent 9ef53d1e39
commit ce992fbb16

View File

@ -16,10 +16,9 @@ const DeleteButton = ({ tokenName, onClickDelete }) => {
};
return (
<Box paddingLeft={1}>
<Box paddingLeft={1} onClick={(e) => e.stopPropagation()}>
<IconButton
onClick={(e) => {
e.stopPropagation();
onClick={() => {
setShowConfirmDialog(true);
}}
label={formatMessage(