()
| 288 | const containerRef = useRef(null) |
| 289 | |
| 290 | const removeAnchor = () => { |
| 291 | if (containerRef.current) { |
| 292 | const anchorToRemove = containerRef.current.querySelector('#anchor-to-remove') |
| 293 | if (anchorToRemove) { |
| 294 | containerRef.current.removeChild(anchorToRemove) |
| 295 | } |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | return ( |
| 300 | <div ref={containerRef}> |
nothing calls this directly
no outgoing calls
no test coverage detected