(name: string)
| 187 | }, [defaultValue]); |
| 188 | |
| 189 | const commit = (name: string) => { |
| 190 | if (committedRef.current) return; |
| 191 | committedRef.current = true; |
| 192 | onCommit(name); |
| 193 | }; |
| 194 | |
| 195 | const handleKeyDown = (e: React.KeyboardEvent) => { |
| 196 | if (e.key === "Enter") { |
no outgoing calls
no test coverage detected