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

Function handleEdit

examples/solid/createHotkeyRecorder/src/index.tsx:149–156  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

147 )
148
149 const handleEdit = (id: string) => {
150 const shortcut = shortcuts().find((s) => s.id === id)
151 if (!shortcut) return
152 setEditingId(id)
153 setDraftName(shortcut.name)
154 setDraftDescription(shortcut.description)
155 recorder.startRecording()
156 }
157
158 const handleSaveEditing = () => {
159 const id = editingId()

Callers 1

AppFunction · 0.70

Calls 1

startRecordingMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…