Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dhatGuy/PERN-Store
/ decrease
Function
decrease
client/src/components/CartItem.jsx:11–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
increment(item.product_id);
10
};
11
const decrease = () => {
12
decrement(item.product_id);
13
};
14
return (
15
<>
16
<TableCell>{item.name}</TableCell>
Callers
1
CartItem
Function · 0.85
Calls
1
decrement
Function · 0.85
Tested by
no test coverage detected