mirror of
https://github.com/strapi/strapi.git
synced 2025-09-19 05:23:05 +00:00
fix stopPropagation location
This commit is contained in:
parent
9ef53d1e39
commit
ce992fbb16
@ -16,10 +16,9 @@ const DeleteButton = ({ tokenName, onClickDelete }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box paddingLeft={1}>
|
<Box paddingLeft={1} onClick={(e) => e.stopPropagation()}>
|
||||||
<IconButton
|
<IconButton
|
||||||
onClick={(e) => {
|
onClick={() => {
|
||||||
e.stopPropagation();
|
|
||||||
setShowConfirmDialog(true);
|
setShowConfirmDialog(true);
|
||||||
}}
|
}}
|
||||||
label={formatMessage(
|
label={formatMessage(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user