MCPcopy Create free account
hub / github.com/codeaashu/claude-code / handleTabClick

Function handleTabClick

web/components/layout/Sidebar.tsx:76–83  ·  view source on GitHub ↗
(id: SidebarTab)

Source from the content-addressed store, hash-verified

74 }, [toggleSidebar]);
75
76 const handleTabClick = (id: SidebarTab) => {
77 if (id === "settings") {
78 openSettings();
79 return;
80 }
81 if (!sidebarOpen) toggleSidebar();
82 setSidebarTab(id);
83 };
84
85 return (
86 <motion.aside

Callers 1

SidebarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected