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

Function pick

packages/tui/src/context/theme.tsx:109–112  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

107 const kv = useKV()
108 const themes = props.source ?? themeSource
109 const pick = (value: unknown) => {
110 if (value === "dark" || value === "light") return value
111 return
112 }
113
114 setStore(
115 produce((draft) => {

Callers 1

theme.tsxFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected