MCPcopy Create free account
hub / github.com/Packstack-Tech/packstack / handleDelete

Function handleDelete

frontend/src/app/components/EditItem/index.tsx:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 record
25 }) => {
26 const handleDelete = () => {
27 deleteItem(record.id).then(() => {
28 onClose();
29 fetchItems();
30 });
31 };
32
33 const renderFooter = () => (
34 <ButtonGroup>

Callers

nothing calls this directly

Calls 1

fetchItemsFunction · 0.85

Tested by

no test coverage detected