(id: string)
| 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() |
no test coverage detected
searching dependent graphs…