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

Function handleDelete

examples/react/useHotkeyRecorder/src/index.tsx:173–175  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

171 }
172
173 const handleDelete = (id: string) => {
174 setShortcuts((prev) => prev.filter((s) => s.id !== id))
175 }
176
177 const handleCreateNew = () => {
178 const newShortcut: Shortcut = {

Callers 1

AppFunction · 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…