MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / handleClick

Function handleClick

ui/src/components/ActivityBar.tsx:246–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

244 const isActive = selectedSidebar === sec
245 const Icon = item.icon
246 const handleClick = () => {
247 setSidebar(sec)
248 openOrFocus(item.defaultTab)
249 onClose()
250 }
251 return (
252 <button
253 key={item.page}

Callers

nothing calls this directly

Calls 2

setSidebarFunction · 0.85
openOrFocusFunction · 0.85

Tested by

no test coverage detected