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

Function handleSaveEditing

examples/solid/createHotkeyRecorder/src/index.tsx:158–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 recorder.startRecording()
157 }
158
159 const handleSaveEditing = () => {
160 const id = editingId()
161 if (id) {
162 setShortcuts((prev) =>
163 prev.map((s) =>
164 s.id === id
165 ? { ...s, name: draftName(), description: draftDescription() }
166 : s,
167 ),
168 )
169 recorder.stopRecording()
170 setEditingId(null)
171 }
172 }
173
174 const handleCancel = () => {

Callers

nothing calls this directly

Calls 1

stopRecordingMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…