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

Function isSelected

packages/tui/src/component/error-component.tsx:136–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 <For each={actions}>
135 {(action, index) => {
136 const isSelected = () => selected() === index()
137 const isCopied = () => action.copy && copied()
138 return (
139 <box flexDirection="column" alignItems="center" flexShrink={0}>

Callers 1

ErrorComponentFunction · 0.70

Calls 2

selectedFunction · 0.50
indexFunction · 0.50

Tested by

no test coverage detected