MCPcopy Create free account
hub / github.com/027xiguapi/code-box / handleChange

Function handleChange

component/contents/validateContent.tsx:33–36  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

31 const [isValid, setIsValid] = useState(true)
32
33 const handleChange = (event) => {
34 const code = event.target.value
35 setActivationCode(code)
36 }
37
38 function handleSubmit() {
39 if (Number(validTime) > dayjs().unix()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected