fix the disabled button click issue (#7816)

This commit is contained in:
Ashish Gupta 2022-09-30 19:28:32 +05:30 committed by GitHub
parent d2adde53c6
commit eb4747362d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,9 +70,11 @@ const ManageButton: FC<Props> = ({
})}
size={8}
onClick={(e) => {
if (canDelete) {
e.stopPropagation();
setIsDelete(true);
setShowActions(false);
}
}}>
<SVGIcons alt="Delete" icon={Icons.DELETE} />
<div className="tw-text-left" data-testid="delete-button">