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

Function updateElapsed

cli/src/components/elapsed-timer.tsx:32–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 const updateElapsed = () => {
33 const elapsed = Math.floor((Date.now() - startTime) / 1000)
34 setElapsedSeconds(elapsed)
35 }
36
37 // Update immediately
38 updateElapsed()

Callers 1

ElapsedTimerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected