MCPcopy Create free account
hub / github.com/GreatStackDev/gocart / removeFromCartHandler

Function removeFromCartHandler

components/Counter.jsx:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 }
14
15 const removeFromCartHandler = () => {
16 dispatch(removeFromCart({ productId }))
17 }
18
19 return (
20 <div className="inline-flex items-center gap-1 sm:gap-3 px-3 py-1 rounded border border-slate-200 max-sm:text-sm text-slate-600">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected