MCPcopy Create free account
hub / github.com/Bitbox-Connect/Bitbox / handleDelete

Function handleDelete

client/src/component/MyProjectCard.jsx:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 };
32
33 const handleDelete = () => {
34 deleteProject(project._id);
35 showAlert("Deleted Successfully", "success");
36 handleModalClose();
37 };
38
39 // Profile Context
40 let navigate = useNavigate();

Callers

nothing calls this directly

Calls 3

deleteProjectFunction · 0.85
showAlertFunction · 0.85
handleModalCloseFunction · 0.70

Tested by

no test coverage detected