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

Function handleAddressChange

components/AddressModal.jsx:19–24  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

17 })
18
19 const handleAddressChange = (e) => {
20 setAddress({
21 ...address,
22 [e.target.name]: e.target.value
23 })
24 }
25
26 const handleSubmit = async (e) => {
27 e.preventDefault()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected