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

Function handleClick

client/src/component/MyProject.jsx:60–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 }
59
60 const handleClick = () => {
61 // Modify YouTube link
62 const modifiedYouTubeLink = modifyYouTubeLink(project.eyouTubeLink);
63 // Update project using API call
64 editProject(project.id, project.etitle, project.edescription, project.egitHubLink, modifiedYouTubeLink) // Pass modifiedYouTubeLink instead of project.youTubeLink
65 refClose.current.click();
66 props.showAlert("Project Updated Successfully", "success")
67 }
68
69 const refDetails = useRef(null)
70

Callers

nothing calls this directly

Calls 2

editProjectFunction · 0.85
modifyYouTubeLinkFunction · 0.70

Tested by

no test coverage detected