Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
removeTab
Function · 0.85
promoteDraft
Function · 0.85
tabs.tsx
File · 0.85
toggleHome
Function · 0.85
Calls
4
tabHref
Function · 0.85
setRecentKey
Function · 0.85
tabKey
Function · 0.85
navigate
Function · 0.50
Tested by
no test coverage detected