()
| 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 |
nothing calls this directly
no test coverage detected