MCPcopy Create free account
hub / github.com/TanStack/hotkeys / removeShortcut

Function removeShortcut

examples/preact/useHotkeys/src/index.tsx:288–290  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

286 }
287
288 const removeShortcut = (id: number) => {
289 setShortcuts((prev) => prev.filter((s) => s.id !== id))
290 }
291
292 return (
293 <div className="demo-section">

Callers 1

DynamicHotkeysDemoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…