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

Function updateElapsed

cli/src/hooks/use-elapsed-time.ts:96–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 }
95
96 const updateElapsed = () => {
97 const elapsed = Math.floor((Date.now() - startTime) / 1000)
98 setElapsedSeconds(elapsed)
99 }
100
101 // Update immediately
102 updateElapsed()

Callers 1

useElapsedTimeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected