MCPcopy Create free account
hub / github.com/Bitbox-Connect/Bitbox / handleKeyDown

Function handleKeyDown

client/src/component/InputModal.jsx:22–26  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

20
21 // Prevents keyboard accessibility issues by handling Enter key for submit
22 const handleKeyDown = (event) => {
23 if (event.key === 'Enter') {
24 handleJoin();
25 }
26 };
27
28 if (!isOpen) return null;
29

Callers

nothing calls this directly

Calls 1

handleJoinFunction · 0.70

Tested by

no test coverage detected