MCPcopy
hub / github.com/adrianhajdin/project_web3.0 / handleChange

Function handleChange

client/src/context/TransactionContext.jsx:25–27  ·  view source on GitHub ↗
(e, name)

Source from the content-addressed store, hash-verified

23 const [transactions, setTransactions] = useState([]);
24
25 const handleChange = (e, name) => {
26 setformData((prevState) => ({ ...prevState, [name]: e.target.value }));
27 };
28
29 const getAllTransactions = async () => {
30 try {

Callers 1

InputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected