MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / handleTabChange

Function handleTabChange

app/src/components/ContentTabs.tsx:36–42  ·  view source on GitHub ↗
(newTabKey: string)

Source from the content-addressed store, hash-verified

34 }, [activeTabKey]);
35
36 const handleTabChange = (newTabKey: string) => {
37 if (trackTabInUrl) {
38 setActiveTab(newTabKey, router);
39 } else {
40 setActiveTabState(newTabKey);
41 }
42 };
43
44 return (
45 <>

Callers 1

ContentTabsFunction · 0.85

Calls 1

setActiveTabFunction · 0.85

Tested by

no test coverage detected