Add confirmation dialog before deleting pick list items

This commit is contained in:
beatz174-bit committed 2025-11-23 13:26:51 +10:00
1 parent a1aa42386c
commit c820427144
2 files changed
+64 -1

No files matched your search

+5 -1
View File
@@ -95,7 +95,11 @@ export const PickItemRow = ({
>
<Add />
</IconButton>
<IconButton color="error" onClick={onDelete} aria-label="Delete item">
<IconButton
color="error"
onClick={() => setIsConfirmOpen(true)}
aria-label="Delete item"
>
<Delete />
</IconButton>
</Stack>