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

Function handleCouponCode

components/OrderSummary.jsx:22–25  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

20 const [coupon, setCoupon] = useState('');
21
22 const handleCouponCode = async (event) => {
23 event.preventDefault();
24
25 }
26
27 const handlePlaceOrder = async (e) => {
28 e.preventDefault();

Callers 1

OrderSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected