MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / handleNameChange

Function handleNameChange

web/src/app/orgs/new/page.tsx:56–60  ·  view source on GitHub ↗
(e: React.ChangeEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

54 }
55
56 const handleNameChange = (e: React.ChangeEvent<HTMLInputElement>) => {
57 const newName = e.target.value
58 setFormData({ ...formData, name: newName })
59 setNameError(validateName(newName))
60 }
61
62 const handleSubmit = async (e: React.FormEvent) => {
63 e.preventDefault()

Callers

nothing calls this directly

Calls 1

validateNameFunction · 0.85

Tested by

no test coverage detected