MCPcopy Create free account
hub / github.com/Ashutoshx7/VengenceUI / decrease

Function decrease

src/components/docs/animated-number.tsx:46–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 const [score, setScore] = useState(100);
45
46 function decrease() {
47 setScore(prev => prev - 10);
48 }
49 function increase() {
50 setScore(prev => prev + 10);
51 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected