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

Function handleKeyDown

client/src/component/EditProfile.jsx:20–25  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

18 });
19
20 const handleKeyDown = (e) => {
21 if (e.key === "Enter") {
22 e.preventDefault();
23 handleClick();
24 }
25 };
26
27 const onChange = (e) => {
28 setProfile({ ...profile, [e.target.name]: e.target.value });

Callers

nothing calls this directly

Calls 1

handleClickFunction · 0.70

Tested by

no test coverage detected