MCPcopy Create free account
hub / github.com/dailydotdev/apps / updateShownValue

Function updateShownValue

packages/shared/src/components/InteractionCounter.tsx:57–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 const updateShownValue = () => {
58 setAnimate(false);
59 setShownValue(value);
60 };
61
62 // leading-5 makes each rolling slice's line box fill its h-5 height so the
63 // digits stay centered during the roll (matches the resting state above).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected