MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / handleChange

Function handleChange

Video 131/components/PaymentPage.js:45–47  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

43
44
45 const handleChange = (e) => {
46 setPaymentform({ ...paymentform, [e.target.name]: e.target.value })
47 }
48
49 const getData = async () => {
50 let u = await fetchuser(username)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected