MCPcopy Create free account
hub / github.com/SplootCode/splootcode / handleTitleChange

Function handleTitleChange

packages/components/src/save_project_modal.tsx:85–88  ·  view source on GitHub ↗
(e: React.ChangeEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

83 }, [projectID])
84
85 const handleTitleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
86 setProjectTitle(e.target.value)
87 setProjectID(convertToURL(e.target.value))
88 }
89
90 let errorMessage = ''
91 if (!validID && projectID !== '') {

Callers

nothing calls this directly

Calls 1

convertToURLFunction · 0.85

Tested by

no test coverage detected