MCPcopy Create free account
hub / github.com/9d8dev/directory / handleChange

Function handleChange

app/admin/basic/page.tsx:54–59  ·  view source on GitHub ↗
(
    e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>,
  )

Source from the content-addressed store, hash-verified

52 };
53
54 const handleChange = (
55 e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>,
56 ) => {
57 const { name, value } = e.target;
58 setFormData((prev) => ({ ...prev, [name]: value }));
59 };
60
61 return (
62 <>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected