MCPcopy Create free account
hub / github.com/R44VC0RP/opencode.cafe / handleDelete

Function handleDelete

app/admin/extensions/page.tsx:96–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected