MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / lightUp

Function lightUp

freebuff/web/src/app/home-client.tsx:374–380  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

372 const [litWords, setLitWords] = useState<Set<number>>(new Set())
373
374 const lightUp = (i: number) => {
375 setLitWords((prev) => {
376 const next = new Set(prev)
377 next.add(i)
378 return next
379 })
380 }
381
382 const dimDown = (i: number) => {
383 setLitWords((prev) => {

Callers 1

PhilosophySectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected