()
| 94 | } |
| 95 | |
| 96 | async function handleDelete() { |
| 97 | if (!deletingId) return |
| 98 | setIsDeleting(true) |
| 99 | try { |
| 100 | await deleteExtension({ extensionId: deletingId }) |
| 101 | setDeletingId(null) |
| 102 | } finally { |
| 103 | setIsDeleting(false) |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | function getStatusBadge(status: string) { |
| 108 | switch (status) { |
nothing calls this directly
no outgoing calls
no test coverage detected