Skip to content

Commit

Permalink
fix: click propagation in item deletion when clicking trash icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ytkimirti committed Nov 15, 2024
1 parent a5bc1f2 commit fef1693
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,15 @@ export const ListItems = ({
</td>
)}
{type !== "stream" && (
<td width={20} className="px-3">
<td
width={20}
className="px-3"
onClick={(e) => {
e.stopPropagation()
}}
>
<DeleteAlertDialog
deletionType="item"
onDeleteConfirm={(e) => {
e.stopPropagation()
editItem({
Expand Down

0 comments on commit fef1693

Please sign in to comment.