(id: string)
| 142 | ) |
| 143 | |
| 144 | const handleEdit = (id: string) => { |
| 145 | const shortcut = shortcuts.find((s) => s.id === id) |
| 146 | if (!shortcut) return |
| 147 | setEditingId(id) |
| 148 | setDraftName(shortcut.name) |
| 149 | setDraftDescription(shortcut.description) |
| 150 | recorder.startRecording() |
| 151 | } |
| 152 | |
| 153 | const handleSaveEditing = () => { |
| 154 | if (editingId) { |
no test coverage detected
searching dependent graphs…