(e: React.MouseEvent)
| 299 | className, |
| 300 | }: EntityItemProps) => { |
| 301 | const handleRemove = async (e: React.MouseEvent) => { |
| 302 | e.preventDefault(); |
| 303 | e.stopPropagation(); |
| 304 | |
| 305 | if (isRemoving) { |
| 306 | return; |
| 307 | } |
| 308 | |
| 309 | if (onRemove) { |
| 310 | await onRemove(); |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | return ( |
| 315 | <Link href={href} prefetch> |
nothing calls this directly
no outgoing calls
no test coverage detected