File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed
packages/webui/src/client/lib/Components Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -133,38 +133,6 @@ export function BreadCrumbTextInput({
133133
134134 const volatileValue = inputState . editingValue ?? inputState . value
135135
136- // const handleChange = useCallback(
137- // (event: React.ChangeEvent<HTMLTextAreaElement>) => {
138- // setEditingValue(event.target.value)
139-
140- // if (updateOnKey) {
141- // handleUpdate(splitValueIntoLines(event.target.value))
142- // }
143- // },
144- // [handleUpdate, updateOnKey]
145- // )
146- // const handleBlur = useCallback(
147- // (event: React.FocusEvent<HTMLTextAreaElement>) => {
148- // handleUpdate(splitValueIntoLines(event.target.value))
149- // setEditingValue(null)
150- // },
151- // [handleUpdate]
152- // )
153- // const handleFocus = useCallback((event: React.FocusEvent<HTMLTextAreaElement>) => {
154- // setEditingValue(event.currentTarget.value)
155- // }, [])
156- // const handleKeyUp = useCallback((event: React.KeyboardEvent<HTMLTextAreaElement>) => {
157- // if (event.key === 'Escape') {
158- // setEditingValue(null)
159- // }
160- // }, [])
161- // const handleKeyPress = useCallback((event: React.KeyboardEvent<HTMLTextAreaElement>) => {
162- // // Suppress the default behaviour of submitting on enter press
163- // if (event.key === 'Enter') {
164- // event.stopPropagation()
165- // }
166- // }, [])
167-
168136 const inputRef = useRef < HTMLDivElement > ( null )
169137
170138 const doCommit = useCallback ( ( ) => {
You can’t perform that action at this time.
0 commit comments