Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Source-Controller/eCommerce-Fullstack
/ incQty
Function
incQty
context/StateContext.js:67–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
}
66
67
const
incQty = () => {
68
setQty((prevQty) => prevQty + 1);
69
}
70
71
const
decQty = () => {
72
setQty((prevQty) => {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected