MCPcopy Create free account
hub / github.com/codeaashu/DevDisplay / handleSearchOnEnter

Function handleSearchOnEnter

src/components/Search/Search.jsx:37–41  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

35 };
36
37 const handleSearchOnEnter = (e) => {
38 if (e.keyCode === 13) {
39 handleSearch();
40 }
41 };
42
43 const handleSearchButtonClick = () => {
44 handleSearch();

Callers

nothing calls this directly

Calls 1

handleSearchFunction · 0.70

Tested by

no test coverage detected