MCPcopy Create free account
hub / github.com/Sealva-Devs/Packdraw-Bet / decreaseQuantity

Function decreaseQuantity

src/components/packs/PackDetails.tsx:42–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }, 0);
41
42 const decreaseQuantity = () => {
43 if (quantity > 1) {
44 onQuantityChange(quantity - 1);
45 }
46 };
47
48 const increaseQuantity = () => {
49 if (quantity < 15) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected