MCPcopy Index your code
hub / github.com/anomalyco/opencode / active

Function active

packages/opencode/src/cli/cmd/run/footer.question.tsx:286–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

284 <For each={props.request.questions}>
285 {(item, index) => {
286 const active = () => state().tab === index()
287 const answered = () => (state().answers[index()]?.length ?? 0) > 0
288 return (
289 <box

Callers 1

RunQuestionBodyFunction · 0.70

Calls 2

stateFunction · 0.70
indexFunction · 0.50

Tested by

no test coverage detected