MCPcopy Create free account
hub / github.com/Krycha94/fullstack-nextjs-ecommerce / decrease

Function decrease

components/CartItem/CartItem.tsx:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 };
14
15 const decrease = () => {
16 toggleAmount(id, "dec");
17 };
18
19 return (
20 <article className={styles.product}>

Callers

nothing calls this directly

Calls 1

toggleAmountFunction · 0.85

Tested by

no test coverage detected