MCPcopy Create free account
hub / github.com/cloudflare/meet / handler

Function handler

app/hooks/useShowDebugInfoShortcut.ts:8–13  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

6
7 useEffect(() => {
8 const handler = (e: KeyboardEvent) => {
9 if (e.key.toLowerCase() === 'd' && e.ctrlKey) {
10 e.preventDefault()
11 setShowDebugInfo(!showDebugInfo)
12 }
13 }
14 document.addEventListener('keypress', handler)
15
16 return () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected