MCPcopy Create free account
hub / github.com/code100x/daily-code / deleteCategory

Function deleteCategory

apps/web/components/utils.tsx:482–488  ·  view source on GitHub ↗
(categoryId: string)

Source from the content-addressed store, hash-verified

480}
481
482export async function deleteCategory(categoryId: string) {
483 await db.categories.delete({
484 where: {
485 id: categoryId,
486 },
487 });
488}

Callers 1

handleDeleteCategoryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected