MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / handleKeyDown

Function handleKeyDown

packages/web/src/app/login/verify/verifyForm.tsx:56–60  ·  view source on GitHub ↗
(e: React.KeyboardEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

54 }
55
56 const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {
57 if (e.key === 'Enter') {
58 handleSubmit(value)
59 }
60 }
61
62 return (
63 <div className="flex flex-col min-h-screen">

Callers

nothing calls this directly

Calls 1

handleSubmitFunction · 0.85

Tested by

no test coverage detected