MCPcopy Create free account
hub / github.com/anomalyco/opencode / navigateTab

Function navigateTab

packages/app/src/context/tabs.tsx:109–113  ·  view source on GitHub ↗
(tab: Tab)

Source from the content-addressed store, hash-verified

107 })
108
109 const navigateTab = (tab: Tab) => {
110 const href = tabHref(tab)
111 setRecentKey(tabKey(tab))
112 navigate(href)
113 }
114
115 const removeTab = (index: number) => {
116 const tab = store[index]

Callers 4

removeTabFunction · 0.85
promoteDraftFunction · 0.85
tabs.tsxFile · 0.85
toggleHomeFunction · 0.85

Calls 4

tabHrefFunction · 0.85
setRecentKeyFunction · 0.85
tabKeyFunction · 0.85
navigateFunction · 0.50

Tested by

no test coverage detected