MCPcopy Create free account
hub / github.com/codeaashu/claude-code / update

Function update

src/components/PromptInput/PromptInputFooterLeftSide.tsx:86–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 return;
85 }
86 const update = function update() {
87 const remaining = Math.max(0, Math.ceil((nextTickAt - Date.now()) / 1000));
88 setRemainingSeconds(remaining);
89 };
90 update();
91 const interval = setInterval(update, 1000);
92 return () => clearInterval(interval);

Callers 1

ProactiveCountdownFunction · 0.70

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected