mirror of
https://github.com/strapi/strapi.git
synced 2025-09-19 13:31:34 +00:00
fix stopPropagation location
This commit is contained in:
parent
9ef53d1e39
commit
ce992fbb16
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user