MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / handleTabChange

Function handleTabChange

packages/web/src/components/ui/tab-switcher.tsx:17–19  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

15 const router = useRouter()
16
17 const handleTabChange = (value: string) => {
18 router.push(`?tab=${value}`, { scroll: false })
19 }
20
21 return (
22 <TabsList className={className}>

Callers 1

TabSwitcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected