Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ handleSelect
Function
handleSelect
packages/ui/src/components/list.tsx:168–170 ·
view source on GitHub ↗
(item: T | undefined, index: number)
Source
from the content-addressed store, hash-verified
166
})
167
168
const handleSelect = (item: T | undefined, index: number) => {
169
props.onSelect?.(item, index)
170
}
171
172
const handleKey = (e: KeyboardEvent) => {
173
setStore(
"mouseActive"
, false)
Callers
2
handleKey
Function · 0.70
List
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected