MCPcopy Create free account
hub / github.com/Iduoad/Mrrakc / toggleCategory

Function toggleCategory

web/src/components/react/ExplorerMap.tsx:92–94  ·  view source on GitHub ↗
(category: string)

Source from the content-addressed store, hash-verified

90
91 // Specifically for category chips (toggle logic)
92 const toggleCategory = (category: string) => {
93 toggleFilter(selectedCategories, category, setSelectedCategories);
94 };
95
96 const clearFilters = () => {
97 setSelectedCategories([]);

Callers

nothing calls this directly

Calls 1

toggleFilterFunction · 0.85

Tested by

no test coverage detected