Add confirmation dialog before deleting pick list items
This commit is contained in:
1 parent
a1aa42386c
commit
c820427144
2 files changed
+64
-1
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user